Abu Ayub reported,

The Messenger of Allah ﷺ said, "It is not lawful for a Muslim to shun his brother for more than three nights, the two of them meeting and this one turning away and that one turning away. The better of the two is the one who initiates the greeting of peace."

Azami 14933

Sahih

عن أبي أيوب الأنصاري

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

الأعظمي 14933صحيح
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 14933 (2nd edition)
Azami 14933