The Prophet (peace and blessings be upon him) said:
"Between a man and polytheism (shirk) and disbelief (the only dividing line) is abandoning the prayer."
Hadith Referenceصحیح الجامع الصغیر / حرف الباء / 2848
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[م د ت هـ] عن جابر. الروض ٢٢٤، ٢٢٥، صحيح الترغيب ٥٦٣.