From Sahih Bukhari (Hadith 391):
Narrated Anas bin Malik:Allah's Messenger (ﷺ) said, "Whoever prays like us and faces our Qibla and eats our slaughtered animals is a Muslim and is under Allah's and His Apostle's protection. So do not betray Allah by betraying those who are in His protection
Reference: Bukhari 391