He continued, "I met Umar ibn al-Khattab and said to him, 'What's going on with the people?' He replied, 'The Command of Allah.' Then the people took hold of the battle and the Messenger of Allah (ﷺ) said, 'Whoever has killed one of the dead and can prove it, can strip him of his personal effects.' I stood up and said, 'Who will testify for me?' and then I sat down. The Messenger of Allah repeated, 'Whoever has killed one of the dead and can prove it, can strip him of his personal effects.' I stood up and said, 'Who will testify for me?' then I sat down. Then he repeated his statement a third time, so I stood up, and the Messenger of Allah (ﷺ) said, 'What's the matter with you, Abu Qatada?' So I related my story to him. A man said, 'He has spoken the truth, Messenger of Allah. I have the effects of that slain person with me, so give him compensation for it, Messenger of Allah.'
Abu Bakr said, 'No, by Allah! He did not intend that one of the lions of Allah should fight for Allah and His Messenger and then give you his spoils.' The Messenger of Allah (ﷺ) said, 'He has spoken the truth, hand it over to him.' He gave it to me, and I sold the breast-plate and I bought a garden in the area of the Banu Salima with the money. It was my first property, and I acquired it in Islam."
Arabic : Book 21, Hadith 979