The nearest and then next nearest neighbour Al-Adab Al-Mufrad 110

Arabic hadith text
حَدَّثَنَا بِشْرُ بْنُ مُحَمَّدٍ، قَالَ‏:‏ أَخْبَرَنَا عَبْدُ اللهِ، قَالَ‏:‏ أَخْبَرَنَا عِكْرِمَةُ بْنُ عَمَّارٍ، قَالَ‏:‏ حَدَّثَنَا عَلْقَمَةُ بْنُ بَجَالَةَ بْنِ زَيْدٍ قَالَ‏:‏ سَمِعْتُ أَبَا هُرَيْرَةَ قَالَ‏:‏ وَلاَ يَبْدَأُ بِجَارِهِ الأَقْصَى قَبْلَ الأَدْنَى، وَلَكِنْ يَبْدَأُ بِالأَدْنَى قَبْلَ الأَقْصَى‏.‏
Translation

Abu Hurayra said, "Do not begin with your more distant neighbours before the closer ones. Rather begin with your nearest neighbours before the most distant ones."