Narrated Aisha: I said, “O Allah’s Messenger (peace be upon him)! I have two neighbors; which of them should I give a gift to?” The Prophet (peace be upon him) said, “(Give) to the one whose door is nearer to you.”
Sahih al-Bukhari, Vol. 3, Book 51, Hadith 29




