Abu Saeed Khudri reported,

The Messenger of Allah ﷺ said, "Charity is not lawful for a wealthy person except in five cases. For the one who collects it, the one fighting in the cause of Allah, the wealthy person who purchases it with his own money, the poor person who received it as charity and then gave it as a gift to a wealthy person, or one burdened with debt."

Ibn Majah 1841

Sahih

حدثنا محمد بن يحيى حدثنا عبد الرزاق أنبأنا معمر عن زيد بن أسلم عن عطاء بن يسار

عن أبي سعيد الخدري قال

قال رسول الله ﷺ لا تحل الصدقة لغني إلا لخمسة لعامل عليها أو لغاز في سبيل الله أو لغني اشتراها بماله أو فقير تصدق عليه فأهداها لغني أو غارم

ابن ماجه 1841صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Zakat
Chapter
Those for whom charity is permissible
Numbering
Darussalam 1841
Ibn Majah 1841