Sayyiduna al-Miqdam Abu Karimah al-Shami (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "Hosting a guest for one night is an obligatory right upon every Muslim. If he (the guest) spends the morning in his courtyard (without being hosted), it is a debt owed by the host; if he wishes he may claim it, and if he wishes he may leave it."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17755