Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Do not hate one another, do not envy one another, and 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 days."

Muslim 6526

Sahih

حدثني يحيى بن يحيى قال قرأت على مالك عن ابن شهاب

عن أنس بن مالك

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

مسلم 6526صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Prohibition of envy, hatred, and turning away from one another
Numbering
Darussalam 6526
Muslim 6526