Sure Al-Furqaan

25:27

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

Und an dem Tag wird der Ungerechte sich in die Hände beißen und sagen: "O hätte ich doch mit dem Gesandten einen Weg eingeschlagen!

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.’