It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever prays as we pray, faces our qiblah and eats what we slaughter, then he is a Muslim and is under the protection of Allah and His Messenger; so do not betray Allah regarding His protection."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2198