Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Do not hate one another, do not envy one another, do not turn your backs on one another. Be servants of Allah as brothers. It is not lawful for a Muslim to shun his brother for more than three nights."

Azami 14932

Sahih

عن أنس بن مالك

أن رسول الله ﷺ قال: لا تباغضوا، ولا تحاسدوا، ولا تدابروا، وكونوا عباد الله إخوانا، ولا يحل لمسلم أن يهاجر أخاه فوق ثلاث ليال.

الأعظمي 14932صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Vices of character
Section
Prohibition of abandonment for more than three days without a legitimate excuse
Numbering
Jami al-Kamil 14932 (2nd edition)
Azami 14932