Al-Adab Al-Mufrad, Book 42, Hadith 985 (English) ⓘ
Abu Ayyub reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "It is not lawful for a Muslim man to separate himself from his brother for more than three days. When they meet, and one turns away and the other turns away, the better of them is the one who gives the greeting first."
حَدَّثَنَا عَبْدُ اللهِ بْنُ يُوسُفَ، وَالْقَعْنَبِيُّ، قَالاَ: أَخْبَرَنَا مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنْ عَطَاءِ بْنِ يَزِيدَ، عَنْ أَبِي أَيُّوبَ، أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم قَالَ: لاَ يَحِلُّ لِامْرِئٍ مُسْلِمٍ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلاَثٍ، فَيَلْتَقِيَانِ فَيُعْرِضُ هَذَا وَيُعْرِضُ هَذَا، وَخَيْرُهُمَا الَّذِي يَبْدَأُ بِالسَّلامِ.
also referenced under: Hadith 985 (Reference) & Book 42, Hadith 21 (In-Book)