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:11:4

To Allah is your return, and He is over all things competent."  

Unto God is your return, and He has power over all things’, including reward and chastisement.
القرآن:١١:٤

إِلَى اللَّهِ مَرْجِعُكُمْ ۖ وَهُوَ عَلَىٰ كُلِّ شَيْءٍ قَدِيرٌ  

{إلى الله مرجعكم وهو على كل شيء قدير} ومنه الثواب والعذاب.