It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "A person remains in latitude in the matter of his religion as long as he does not shed forbidden blood."
Hadith Referenceالمعجم الأوسط / باب الألف / 1401
Hadith Takhrij«أخرجه البخاري فى «صحيحه» برقم: 6862، والحاكم فى «المستدرك» برقم: 8121، 8122، والبيهقي فى «السنن الكبرى» برقم: 15958، 15959، وأحمد فى «مسنده» برقم: 5785، وعبد بن حميد فى «مسنده» برقم: 856»