Abu Saeed Khudri reported,

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

Azami 4257

Sahih

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

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

الأعظمي 4257صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Encouragement of self-restraint and contentment, and discouragement from begging and its prohibition for those undeserving of it
Section
Those for whom zakat is permissible from debtors and others
Numbering
Jami al-Kamil 4257 (2nd edition)
Azami 4257