Sayyiduna Ibn Umar (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "A person continues to have latitude in his religion as long as he does not shed unlawful blood."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15858