Al-Munafiqun 63:9
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تُلْهِكُمْ أَمْوَٰلُكُمْ وَلَآ أَوْلَـٰدُكُمْ عَن ذِكْرِ ٱللَّهِ ۚ وَمَن يَفْعَلْ ذَٰلِكَ فَأُو۟لَـٰٓئِكَ هُمُ ٱلْخَـٰسِرُونَ
Ya ayyuha allatheena amanoola tulhikum amwalukum wala awladukumAAan thikri Allahi waman yafAAal thalikafaola-ika humu alkhasiroon
O you who have believed, let not your wealth and your children divert you from the remembrance of Allāh. And whoever does that - then those are the losers.
O you who believe, your riches and your children must not divert you from the remembrance of Allah. And those who do that are the losers.