What we often don’t realize about the abandonment of salah is this: No scholar has ever held the opinion that committing zina (fornication) makes you a disbeliever. No scholar has ever held the opinion that stealing, drinking or taking drugs makes you a disbeliever. No scholar has even claimed that murder makes you a non-Muslim. But, about salah, some scholars have said he who abandons it, is no longer Muslim. This is said based on a hadith such as this one: "The covenant between us and them is prayer, so if anyone abandons it, he has become a disbeliever." [Ahmad]