Surah Al-Furqan, ayah 27

25:27

وَيَوۡمَ يَعَضُّ ٱلظَّالِمُ عَلَىٰ يَدَيۡهِ يَقُولُ يَٰلَيۡتَنِي ٱتَّخَذۡتُ مَعَ ٱلرَّسُولِ سَبِيلٗا ٢٧

Wayawma ya'adduz-zālimu 'alā yadayhi yaqūlu yālaytanit-takhadhtu ma'ar-rasūli sabīlā

And the Day the wrongdoer will bite on his hands [in regret] he will say, "Oh, I wish I had taken with the Messenger a way.1018

Footnotes

1018 i.e., followed the Prophet (ﷺ) on a path of guidance.