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:3:102

O you who have believed, fear Allah as He should be feared and do not die except as Muslims ˹in submission to Him˺.  

O you who believe, fear God as He should be feared, so that He is obeyed and not disobeyed, thanked and not shown ingratitude, remembered and not forgotten. They said, ‘Who, O Messenger of God, is strong enough for this ˹task˺?’ But it was then abrogated by His statement: So fear God as much as you can ˹Q. 64:16˺; and do not die, except as Muslims, professing the Oneness of God.
القرآن:٣:١٠٢

يَا أَيُّهَا الَّذِينَ آمَنُوا اتَّقُوا اللَّهَ حَقَّ تُقَاتِهِ وَلَا تَمُوتُنَّ إِلَّا وَأَنْتُمْ مُسْلِمُونَ  

(يا أيها الذين آمنوا اتقوا الله حق تقاته) بأن يطاع فلا يعصى ويشكر فلا يكفر ويذكر فلا ينسى فقالوا يا رسول الله ومن يقوى على هذا فنسخ بقوله تعالى "" فاتقوا الله ما استطتعم "" (ولا تموتن إلا وأنتم مسلمون) موحدون.