Surah Al-Munafiqun 63:9
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تُلْهِكُمْ أَمْوَٰلُكُمْ وَلَآ أَوْلَـٰدُكُمْ عَن ذِكْرِ ٱللَّهِ ۚ وَمَن يَفْعَلْ ذَٰلِكَ فَأُو۟لَـٰٓئِكَ هُمُ ٱلْخَـٰسِرُونَ
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.
Translation: Saheeh International
Tafsir
O you who believe do not let your possessions and your children divert you distract you from the remembrance of God from the five prayers; for whoever does that — it is they who are the losers.
Excerpt from Tafsir al-Jalalayn, commentary on 63:9, via Quran.com. The reader has the full commentary and 9 more tafsirs.