And Abraham instructed his sons saying: so do not die except while you are Muslims.

And who would be averse to the religion of Abraham except one who makes a fool of himself. And We had chosen him in this world, and indeed he, in the Hereafter, will be among the righteous.


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


And Abraham instructed his sons [to do the same] and [so did] Jacob, [saying], "O my sons, indeed Allah has chosen for you this religion, so do not die except while you are Muslims."


https://noorinternational.net/articles/Quran-download