Narrated AbuDharr: The Prophet (ﷺ) said: He who separates from the community within a span takes off the noose of Islam from his neck
Hadith No. 4758
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Zubair Ali Zai:
Isnaad Hasan