The Prophet (ﷺ) said: He who separates from the community within a span takes off the noose of Islam from his neck. Sunan Abi Dawud Book 42, Hadith 163