Sahih Bukhari | Volume 3 | Hadith Number 767

Narrated by 'Aisha
I said, "O Allah's Apostle! I have two neighbours; which of them should I give a gift to?" The Prophet said, "(Give) to the one whose door is nearer to you."