Bara bin Azib reported,

A man covered in armor came to the Prophet ﷺ and asked, "Messenger of Allah, shall I fight or accept Islam?"He replied, "Accept Islam, then fight."So he accepted Islam, then fought, and was killed. The Messenger of Allah ﷺ said, "He worked little and was rewarded much."

Bukhari 2808

Sahih

حدثنا محمد بن عبد الرحيم حدثنا شبابة بن سوار الفزاري حدثنا إسرائيل عن أبي إسحاق قال سمعت

البراء رضي الله عنه يقول

أتى النبي ﷺ رجل مقنع بالحديد فقال يا رسول الله أقاتل أو أسلم قال أسلم ثم قاتل فأسلم ثم قاتل فقتل فقال رسول الله ﷺ عمل قليلا وأجر كثيرا

البخاري 2808صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Righteous deeds before battle
Numbering
Darussalam 2808
Bukhari 2808