'Aishah (May Allah be pleased with her) reported:
I said, "O Messenger of Allah (ﷺ), I have two neighbours, to which of them should I send a present?" He (ﷺ) replied, "To the one whose door is nearer to you".[Al-Bukhari]
Arabic/English book reference: Book 1, Hadith 310