Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:21061[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū Muḥammad Aḥmad b. ʿAbdullāh al-Muzanī And ʾAbū ʿAlī Ḥāmid b. Muḥammad al-Harawī [Chain 2] Abū al-Qāsim ʿAbd al-Raḥman b. Muḥammad al-Sarrāj > Abū ʿAlī Ḥāmid b. Muḥammad al-Harawī > ʿAlī b. Muḥammad b. ʿĪsá > Abū al-Yamān > Shuʿayb > al-Zuhrī > Anas b. Mālik

[Machine] The Messenger of Allah ﷺ said, "Do not hate one another, do not envy one another, do not turn away from one another, but be brothers, O servants of Allah. It is not lawful for a Muslim to boycott his brother for more than three nights, such that they meet and each of them turns away. The better of the two is the one who initiates the greeting of peace."  

البيهقي:٢١٠٦١أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو مُحَمَّدٍ أَحْمَدُ بْنُ عَبْدِ اللهِ الْمُزَنِيُّ وَأَبُو عَلِيٍّ حَامِدُ بْنُ مُحَمَّدٍ الْهَرَوِيُّ ح وَحَدَّثَنَا أَبُو الْقَاسِمِ عَبْدُ الرَّحْمَنِ بْنُ مُحَمَّدٍ السَّرَّاجُ أنبأ أَبُو عَلِيٍّ حَامِدُ بْنُ مُحَمَّدٍ الْهَرَوِيُّ قَالَا أنبأ عَلِيُّ بْنُ مُحَمَّدِ بْنِ عِيسَى ثنا أَبُو الْيَمَانِ أَخْبَرَنِي شُعَيْبٌ عَنِ الزُّهْرِيِّ قَالَ أَخْبَرَنِي أَنَسُ بْنُ مَالِكٍ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا تَبَاغَضُوا وَلَا تَحَاسَدُوا وَلَا تَدَابَرُوا وَكُونُوا عِبَادَ اللهِ إِخْوَانًا وَلَا يَحِلُّ لِمُسْلِمٍ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلَاثِ لَيَالٍ يَلْتَقِيَانِ يَصُدُّ هَذَا وَيَصُدُّ هَذَا وَخَيْرُهُمَا الَّذِي يَبْدَأُ بِالسَّلَامِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي الْيَمَانِ وَأَخْرَجَهُ مُسْلِمٌ مِنْ وَجْهٍ آخَرَ عَنِ الزُّهْرِيِّ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ قَدْ جَمَعَ اللهُ النَّاسَ بِالْإِسْلَامِ وَنَسَبَهُمْ إِلَيْهِ فَهُوَ أَشْرَفُ أَنْسَابِهِمْ فَإِنَّ أَحَبَّ امْرُؤٌ فَلْيُحْبِبْ عَلَيْهِ

See similar narrations below:

Collected by Mālik, Aḥmad, Bayhaqī
malik:47-13Mālik > Ibn Shihāb > ʿAṭāʾ b. Yazīd al-Laythī > Abū Ayyūb al-Anṣārī

Yahya related to me from Malik from Ibn Shihab from Ata ibn Yazid al-Laythi from Abu Ayyub al-Ansari that the Messenger of Allah ﷺ said, "It is not halal for a muslim to shun his brother for more than three nights, that is they meet, and this one turns away and that one turns away. The better of the two is the one who says the greeting first."  

مالك:٤٧-١٣وَحَدَّثَنِي عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ عَطَاءِ بْنِ يَزِيدَ اللَّيْثِيِّ عَنْ أَبِي أَيُّوبَ الأَنْصَارِيِّ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ يَحِلُّ لِمُسْلِمٍ أَنْ يُهَاجِرَ أَخَاهُ فَوْقَ ثَلاَثِ لَيَالٍ يَلْتَقِيَانِ فَيُعْرِضُ هَذَا وَيُعْرِضُ هَذَا وَخَيْرُهُمَا الَّذِي يَبْدَأُ بِالسَّلاَمِ  

malik:47-14Mālik > Ibn Shihāb > Anas b. Mālik

Yahya related to me from Malik from Ibn Shihab from Anas ibn Malik that the Messenger of Allah ﷺ said, "Do not be angry with each other and do not envy each other and do not turn away from each other, and be slaves of Allah, brothers. It is not halal for a muslim to shun his brother for more than three nights."  

مالك:٤٧-١٤وَحَدَّثَنِي عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ تَبَاغَضُوا وَلاَ تَحَاسَدُوا وَلاَ تَدَابَرُوا وَكُونُوا عِبَادَ اللَّهِ إِخْوَانًا وَلاَ يَحِلُّ لِمُسْلِمٍ أَنْ يُهَاجِرَ أَخَاهُ فَوْقَ ثَلاَثِ لَيَالٍ  

ahmad:13354Abū al-Yamān > Shuʿayb > al-Zuhrī > Anas b. Mālik

Do not hate each other; do not envy each other; do not desert each other; and be the servants of Allah as brethren. It is not allowed for a Muslim to keep apart from his brother for more than three days. (Using translation from Abū Dāʾūd 4910)   

أحمد:١٣٣٥٤حَدَّثَنَا أَبُو الْيَمَانِ أَخْبَرَنَا شُعَيْبٌ عَنِ الزُّهْرِيِّ قَالَ أَخْبَرَنِي أَنَسُ بْنُ مَالِكٍ

أَنَّ النَّبِيَّ ﷺ قَالَ لَا تَبَاغَضُوا وَلَا تَحَاسَدُوا وَلَا تَدَابَرُوا وَكُونُوا عِبَادَ اللهِ إِخْوَانًا وَلَا يَحِلُّ لِمُسْلِمٍ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلَاثِ لَيَالٍ يَلْتَقِيَانِ فَيَصُدُّ هَذَا وَيَصُدُّ هَذَا وَخَيْرُهُمَا الَّذِي يَبْدَأُ بِالسَّلَامِ  

bayhaqi:14773Abū al-Ḥusayn ʿAlī b. Muḥammad b. ʿAbdullāh b. Bishrān> Ismāʿīl b. Muḥammad al-Ṣaffār > Aḥmad b. Manṣūr > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > Anas b. Mālik ؓ > Qāl Rasūl Allāh Ṣllá

[Machine] The Messenger of Allah ﷺ said, "Do not envy one another, do not cut off ties, do not hate one another, and be servants of Allah as brothers. It is not permissible for a Muslim to abandon his brother for more than three days."  

البيهقي:١٤٧٧٣حَدَّثَنَا أَبُو الْحُسَيْنِ عَلِيُّ بْنُ مُحَمَّدِ بْنِ عَبْدِ اللهِ بْنِ بِشْرَانَ بِبَغْدَادَ أنا إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ نا أَحْمَدُ بْنُ مَنْصُورٍ نا عَبْدُ الرَّزَّاقِ أنا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ أَنَسِ بْنِ مَالِكٍ ؓ قَالَ

قَالَ رَسُولُ اللهِ ﷺ لَا تَحَاسَدُوا وَلَا تَقَاطَعُوا وَلَا تَدَابَرُوا وَكُونُوا عِبَادَ اللهِ إِخْوَانًا وَلَا يَحِلُّ لِمُسْلِمٍ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلَاثٍ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ مُحَمَّدِ بْنِ رَافِعٍ عَنْ عَبْدِ الرَّزَّاقِ وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ وَجْهَيْنِ آخَرَيْنِ عَنِ الزُّهْرِيِّ وَفِي حَدِيثِ ابْنِ عُمَرَ عَنِ النَّبِيِّ ﷺ لَا يَحِلُّ لِمُسْلِمٍ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلَاثَةِ أَيَّامٍ