Sure Luqman

31:23

وَمَن كَفَرَ فَلَا يَحْزُنكَ كُفْرُهُۥٓ ۚ إِلَيْنَا مَرْجِعُهُمْ فَنُنَبِّئُهُم بِمَا عَمِلُوٓا۟ ۚ إِنَّ ٱللَّهَ عَلِيمٌۢ بِذَاتِ ٱلصُّدُورِ

Und wer ungläubig ist, dessen Unglaube soll dich nicht traurig machen. Zu Uns wird ihre Rückkehr sein, dann werden Wir ihnen kundtun, was sie taten. Gewiß, Allah weiß über das Innerste der Brüste Bescheid.

Tafsir 31:23

O Messenger! Whoever disbelieves in Allah, let not their disbelief grieve you. To Me alone they will return on the Day of Judgement; I will inform them of the evils they committed in the world and requite them for them. Indeed, Allah knows what is in the hearts; nothing is hidden from Him.