Surah Al-Hijr, ayah 2

15:2

رُّبَمَا يَوَدُّ ٱلَّذِينَ كَفَرُواْ لَوۡ كَانُواْ مُسۡلِمِينَ ٢

Rrubamā yawaddul-ladhīna kafarū law kānū muslimīn

Perhaps those who disbelieve will wish669 that they had been Muslims.

Footnotes

669 On the Day of Judgement or at the time of death.