Yahya related to me from Malik from Said ibn Abi Said al-Maqburi from Abu Shurayh al-Kabi that the Messenger of Allah ﷺ said, "Whoever believes in Allah and the Last Day should speak good or be silent. Whoever believes in Allah and the Last Day should be generous to his neighbour. Whoever believes in Allah and the Last Day, should be generous to his guest. His welcome is for a day and a night, and his hospitality is for three days. Whatever is more than that is sadaqa. It is not halal for a guest to stay with a man until he becomes a burden."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الآخِرِ فَلْيَقُلْ خَيْرًا أَوْ لِيَصْمُتْ وَمَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الآخِرِ فَلْيُكْرِمْ جَارَهُ وَمَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الآخِرِ فَلْيُكْرِمْ ضَيْفَهُ جَائِزَتُهُ يَوْمٌ وَلَيْلَةٌ وَضِيَافَتُهُ ثَلاَثَةُ أَيَّامٍ فَمَا كَانَ بَعْدَ ذَلِكَ فَهُوَ صَدَقَةٌ وَلاَ يَحِلُّ لَهُ أَنْ يَثْوِيَ عِنْدَهُ حَتَّى يُحْرِجَهُ