It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that I heard the Prophet (peace and blessings be upon him) say: "The barrier between a person and disbelief and polytheism is abandoning the prayer."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14979