The Prophet ﷺ 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 nights, where they meet and one turns away and the other turns away. The better of the two is the one who begins with the greeting of peace."
حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال
أن النبي ﷺ قال لا تباغضوا ولا تحاسدوا ولا تدابروا وكونوا عباد الله إخوانا ولا يحل لمسلم أن يهجر أخاه فوق ثلاث ليال يلتقيان فيصد هذا ويصد هذا وخيرهما الذي يبدأ بالسلام
Its isnad is sahih. Abu Yaman is Hakam bin Nafi, and the hadith has already appeared at 12012.