Saad bin Abu Waqqas reported,

On the day of Badr, I brought a sword and said, "Messenger of Allah, Allah has healed my heart against the polytheists," or something to that effect, "so grant me this sword."He replied, "This is neither mine nor yours."So I said to myself, "Perhaps it will be given to someone who has not endured what I have endured."Then the Messenger came to me and said, "You asked me for it when it was not mine to give, but now it has become mine, and it is yours."He said, then the verse was revealed, "They ask you about the spoils of war" [Anfal 8:1].

Tirmidhi 3079

Sahih

حدثنا أبو كريب حدثنا أبو بكر بن عياش عن عاصم بن بهدلة

عن مصعب بن سعد عن أبيه قال

لما كان يوم بدر جئت بسيف فقلت يا رسول الله إن الله قد شفى صدري من المشركين أو نحو هذا هب لي هذا السيف فقال هذا ليس لي ولا لك فقلت عسى أن يعطى هذا من لا يبلي بلائي فجاءني الرسول فقال إنك سألتني وليس لي وإنه قد صار لي وهو لك قال فنزلت {يسألونك عن الأنفال} الآية

الترمذي 3079صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Anfal
Numbering
Darussalam 3079
Tirmidhi 3079