Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:4:111

And whoever commits a sin only earns it against himself. And Allah is ever Knowing and Wise.  

And whoever commits a sin commits it against himself only, since the evil consequences fall on him, harming no one else; and God is ever Knower, Wise, in His actions.
القرآن:٤:١١١

وَمَنْ يَكْسِبْ إِثْمًا فَإِنَّمَا يَكْسِبُهُ عَلَىٰ نَفْسِهِ ۚ وَكَانَ اللَّهُ عَلِيمًا حَكِيمًا  

{ومن يكسب إثما} ذنبا {فإنما يكسبه على نفسه} لأن وباله عليها ولا يضر غيره {وكان الله عليما حكيما} في صنعه.