Abu Ayyub reported: The Messenger of Allah, peace and blessings be upon him, said, “It is not lawful for a Muslim to boycott his brother for more than three nights, such that they meet each other and turn away. The better of the two is the one who initiates the greeting of peace.”
Source: Ṣaḥīḥ al-Bukhārī 6077, Ṣaḥīḥ Muslim 2560
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
Imam Ibn ‘Abdul Barr commented, “The scholars agreed that it is not permissible for a Muslim to boycott his brother for more than three days, except if he fears that speaking to them and associating with them may corrupt his religion, or expose himself to harm in his religion or worldly affairs. If that is the case, he is granted a concession allowing him to avoid them and keep away from them, for perhaps cutting off ties with them and gracefully forsaking them will be better than mixing with them in a way that leads to harm.”
Source: al-Tamhīd li-Ibn ‘Abd al-Barr 6/127
عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَا يَحِلُّ لِمُسْلِمٍ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلَاثِ لَيَالٍ يَلْتَقِيَانِ فَيُعْرِضُ هَذَا وَيُعْرِضُ هَذَا وَخَيْرُهُمَا الَّذِي يَبْدَأُ بِالسَّلَامِ
6077 صحيح البخاري كتاب الأدب باب الهجرة
2560 صحيح مسلم كتاب البر والصلة والآداب باب تحريم الهجر فوق ثلاث بلا عذر شرعي
قَالَ ابْنُ عَبْدِ الْبَرِّ وَأَجْمَعَ الْعُلَمَاءُ عَلَى أَنَّهُ لَا يَجُوزُ لِلْمُسْلِمِ أَنْ يَهْجُرَ أَخَاهُ فَوْقَ ثَلَاثٍ إِلَّا أَنْ يَكُونَ يَخَافُ مِنْ مُكَالَمَتِهِ وَصِلَتِهِ مَا يُفْسِدُ عَلَيْهِ دِينَهُ أَوْ يُوَلِّدُ بِهِ عَلَى نَفْسِهِ مَضَرَّةً فِي دِينِهِ أَوْ دُنْيَاهُ فَإِنْ كَانَ ذَلِكَ فَقَدْ رُخِّصَ لَهُ فِي مُجَانَبَتِهِ وَبُعْدِهِ وَرُبَّ صَرْمٍ جَمِيلٍ خَيْرٌ مِنْ مُخَالَطَةٍ مُؤْذِيَةٍ
6/127 التمهيد محمد بن شهاب الزهري الحديث الأول