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:67

Abraham was neither a Jew nor a Christian, but he was one inclining toward truth, a Muslim ˹submitting to Allah˺. And he was not of the polytheists.  

God, in order to dissociate Abraham ˹from their claims˺, said: No; Abraham in truth was not a Jew, neither a Christian, but he was a Muslim, professing the Oneness of God, and a hanīf, who inclined away from all other religions towards the upright one; and he was never of the idolaters.
القرآن:٣:٦٧

مَا كَانَ إِبْرَاهِيمُ يَهُودِيًّا وَلَا نَصْرَانِيًّا وَلَٰكِنْ كَانَ حَنِيفًا مُسْلِمًا وَمَا كَانَ مِنَ الْمُشْرِكِينَ  

{ما كان إبراهيم يهوديا ولا نصرانيا ولكن كان حنيفا} مائلا عن الأديان كلها إلى الدين القيِّم {مسلما} موحدا {وما كان من المشركين}.