Al-Baqarah 2:132
وَوَصَّىٰ بِهَآ إِبْرَٰهِـۧمُ بَنِيهِ وَيَعْقُوبُ يَـٰبَنِىَّ إِنَّ ٱللَّهَ ٱصْطَفَىٰ لَكُمُ ٱلدِّينَ فَلَا تَمُوتُنَّ إِلَّا وَأَنتُم مُّسْلِمُونَ
Wawassa biha ibraheemubaneehi wayaAAqoobu ya baniyya inna Allaha istafalakumu addeena fala tamootunna illa waantummuslimoon
And Abraham instructed his sons [to do the same] and [so did] Jacob, [saying], "O my sons, indeed Allāh has chosen for you this religion, so do not die except while you are Muslims."
And Ibrāhīm exhorted the same to his sons, and so did Ya‘qūb (Jacob): “My sons, Allah has certainly chosen for you the Faith. So, let not death overtake you but as Muslims.”