Sayyiduna Abu Karimah (may Allah be pleased with him) said: I heard the Messenger of Allah (peace and blessings be upon him) say: "Hosting a guest for one night is obligatory upon every Muslim. Whoever spends the morning in his courtyard, it is a debt owed to him by him; if he wishes he may claim it, and if he wishes he may leave it."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17757