Surah Al-Furqaan

25:27

وَيَوْمَ يَعَضُّ ٱلظَّالِمُ عَلَىٰ يَدَيْهِ يَقُولُ يَٰلَيْتَنِى ٱتَّخَذْتُ مَعَ ٱلرَّسُولِ سَبِيلًۭا

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.

Tafsir 25:27

Mention - O Messenger - the day the evildoer on account of leaving out following the Messenger (peace be upon him) will bite his own hand out of regret and say, ‘If only I had followed the Messenger and what he brought from his Lord, and I had taken a path with him to salvation.’