It is narrated from Sayyidah Aishah (may Allah be pleased with her) that she said: "O Messenger of Allah! I have two neighbours; to which of them should I give a gift?" He (peace and blessings be upon him) said: "To the one whose door is closer to you."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوصايا / 12610