The Prophet ﷺ said: It is a duty of every Muslim (to provide hospitality) to a guest for a night. If anyone comes in the morning to his house, it is a debt due to him. If he wishes, he may fulfil it, and if he wishes he may leave it. (Using translation from Abū Dāʾūd 3750)
سَمِعَ النَّبِيَّ ﷺ يَقُولُ لَيْلَةُ الضَّيْفِ حَقٌّ عَلَى كُلِّ مُسْلِمٍ مَنْ أَصْبَحَ الضَّيْفُ بِفِنَائِهِ فَهُوَ عَلَيْهِ حَقٌّ أَوْ قَالَ دَيْنٌ إِنْ شَاءَ اقْتَضَاهُ وَإِنْ شَاءَ تَرَكَهُ