I came to the Prophet ﷺ on the day of Badr carrying a sword and said, "Messenger of Allah, Allah has healed my heart today from the enemy, so grant me this sword."He replied, "This sword is neither mine nor yours."So I left, saying to myself, "It will be given today to someone who has not endured what I have endured." But while I was in that state, the messenger came to me and said, "Respond to the call." I thought something had been revealed concerning what I had said, so I came, and the Prophet ﷺ said to me, "You asked me for this sword, and it was neither mine nor yours, but Allah has now given it to me, so it is yours."Then he recited, "They ask you about the spoils of war. Say, the spoils of war belong to Allah and the Messenger" [Anfal 8:1] to the end of the verse.
حدثنا هناد بن السري عن أبي بكر عن عاصم
جئت إلى النبي ﷺ يوم بدر بسيف فقلت يا رسول الله إن الله قد شفى صدري اليوم من العدو فهب لي هذا السيف قال إن هذا السيف ليس لي ولا لك فذهبت وأنا أقول يعطاه اليوم من لم يبل بلائي فبينما أنا إذ جاءني الرسول فقال أجب فظننت أنه نزل في شيء بكلامي فجئت فقال لي النبي ﷺ إنك سألتني هذا السيف وليس هو لي ولا لك وإن الله قد جعله لي فهو لك ثم قرأ {يسألونك عن الأنفال قل الأنفال لله والرسول} إلى آخر الآية