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:2:131

When his Lord said to him, "Submit", he said "I have submitted ˹in Islam˺ to the Lord of the worlds."  

And mention: When his Lord said to him, ‘Submit’, obey God and devote your religion purely to Him, he said, ‘I have submitted to the Lord of the Worlds’.
القرآن:٢:١٣١

إِذْ قَالَ لَهُ رَبُّهُ أَسْلِمْ ۖ قَالَ أَسْلَمْتُ لِرَبِّ الْعَالَمِينَ  

واذكر {إذ قال له ربه أسلمْ} انقد لله وأخلص له دينك {قال أسلمت لرب العالمين}.