It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "A neighbor has more right to pre-emption over the house of his neighbor. If he is absent, he should be waited for, as long as their path is one."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14253
Hadith Gradingحکم دارالسلام:إسناده صحيح، قاله أحمد شاكر