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."
Sahih al-Bukhari Book 78, Hadith 51