Abu Karima reported,

The Messenger of Allah ﷺ said, "Hosting a guest for a night is an obligation upon every Muslim. If a guest spends the night in his courtyard and is denied hospitality, it becomes a debt owed to him. If he wishes, he may claim it, and if he wishes, he may forgive it."

Ahmad 17173

Sahih

حدثنا زياد بن عبد الله البكائي قال حدثنا منصور عن عامر

عن أبي كريمة رجل من أصحاب رسول الله ﷺ قال

قال رسول الله ﷺ ليلة الضيف واجبة على كل مسلم فإن أصبح بفنائه محروما كان دينا له عليه إن شاء اقتضاه وإن شاء تركه

أحمد 17173صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Muqaddam bin Maadi Kareeb Kindi, Abu Karima
Numbering
Darussalam 17173
Ahmad 17173