From the perfection of a person's faith is his showing kindness to those with whom he has dealings, especially his neighbors and his guests.
Allah says: “Worship Allah and associate nothing with Him, and show kindness to parents, relatives, orphans, the poor, the near neighbor, the distant neighbor, the companion at your side, the traveler, and those whom your right hands possess. Indeed, Allah does not like those who are conceited and boastful.” [ Sûrah al-Nisâ' : 36]
Islam emphasizes the right of the neighbor. The Prophet (peace be upon him) said: “Gabriel continued to impress upon me the rights of the neighbor until I thought that he would soon confer upon him the right of inheritance.” [Sahîh al-Bukhârî and Sahîh Muslim]
There are many forms that this hospitality can take. It can take the form of help in times of need. The Prophet (peace be upon him) said: “He is not a believer who lets himself be satiated while his neighbor goes hungry.” [ Mustadrak al-Hâkim ]
It can mean making allowances for the neighbor's needs, even by waiving some of one's own rights. The Prophet (peace be upon him) said: “None of you should prevent his neighbor from placing his rafter in his wall.” [ Sahîh al-Bukhârî and Sahîh Muslim ]
It can take the form of gift giving. The Prophet (peace be upon him) said: “O Muslim women! None of you should consider insignificant a gift that you give to your neighbor, even if it is but the trotters of a sheep.” [ Sahîh al-Bukhârî and Sahîh Muslim ]
Islam teaches us to be generous and hospitable to those who come to us as guests. Indeed, those who come to our homes have a right over us. The Prophet (peace be upon him) said: “Whoever believes in Allah and the Last Day should show hospitality to his guest according to his right.”
He was asked: “What is his right, O Messenger of Allah?”
The Prophet (peace be upon him) answered: “It is (to offer the best) for a day and a night, and hospitality extends for three days. What is beyond that is charity.” [ Sahîh al-Bukhârî and Sahîh Muslim ]