Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) relates: I heard the Messenger of Allah (peace and blessings be upon him) say: "Jibril (peace be upon him) came to me from Allah, the Mighty and Majestic, and said: 'O Muhammad, Allah, the Mighty and Majestic, says: I have made five prayers obligatory upon your Ummah. Whoever performs them fully, with their ablution, their times, their bowing and their prostrations, has a covenant with Me that I will admit him into Paradise. And whoever meets Me having fallen short in any of that has no covenant; if I will, I shall punish him, and if I will, I shall have mercy on him.'"
Related hadith on this topic