I said, "O Messenger of Allah ﷺ! I have two neighbors and would like to know to which of them I should give presents." He replied, "To the one whose door is nearer to you." (Using translation from Bukhārī 2259)
قُلْتُ يَا رَسُولَ اللهِ إِنَّ لِي جَارَيْنِ فَإِلَى أَيِّهِمَا أُهْدِي؟ قَالَ إِلَى أَقْرَبِهِمَا مِنْكِ بَابًا