Al-Miqdam Abu karimah al-Shamee (ra) has reported the prophet j|| as saying," If a guest arrives then it is Wajib on every Muslim to serve him the night’s meal. And, if a guest stays at his house until morning then the morning meal is a debt on him which the guest may receive or forsake."
الأدب المفرد ٧٤٤:
قَالَ النَّبِيُّ ﷺ لَيْلَةُ الضَّيْفِ حَقٌّ وَاجِبٌ عَلَى كُلِّ مُسْلِمٍ فَمَنْ أَصْبَحَ بِفِنَائِهِ فَهُوَ دَيْنٌ عَلَيْهِ إِنْ شَاءَ فَإِنْ شَاءَ اقْتَضَاهُ وَإِنْ شَاءَ تَرَكَهُ