Sahih al-Bukhari Book 78, Hadith 51
I said, "O Allah's Messenger (ﷺ)! I have two neighbors! To whom shall I send my gifts?" He said, "To the
one whose gate in nearer to you."
My ears heard and my eyes saw the Prophet (ﷺ) when he spoke, "Anybody who believes in Allah and the Last Day, should serve his neighbor generously, and anybody who believes in Allah and the Last Day should serve his guest generously by giving him his reward." It was asked. "What is his reward, O Allah's Messenger (ﷺ)?" He said, "(To be entertained generously) for a day and a night with high quality of food and the guest has the right to be entertained for three days (with ordinary food) and if he stays longer, what he will be provided with will be regarded as Sadaqa (a charitable gift). And anybody who believes in Allah and the Last Day should talk what is good or keep quiet (i.e. abstain from all kinds of dirty and evil talks).
The Prophet (ﷺ) said, Enjoining, all that is good is a Sadaqa."