Surah Luqman 31:23
وَمَن كَفَرَ فَلَا يَحْزُنكَ كُفْرُهُۥٓ ۚ إِلَيْنَا مَرْجِعُهُمْ فَنُنَبِّئُهُم بِمَا عَمِلُوٓا۟ ۚ إِنَّ ٱللَّهَ عَلِيمٌۢ بِذَاتِ ٱلصُّدُورِ
And whoever has disbelieved - let not his disbelief grieve you. To Us is their return, and We will inform them of what they did. Indeed, Allāh is Knowing of that within the breasts.
Translation: Saheeh International
Tafsir
And whoever disbelieves then do not let his disbelief grieve you O Muhammad (s) do not be concerned with his disbelief. To Us shall be their return and We shall inform them of what they did. Truly God knows best what is in the breasts just as He knows other things and so He will requite them accordingly.
Excerpt from Tafsir al-Jalalayn, commentary on 31:23, via Quran.com. The reader has the full commentary and 9 more tafsirs.