Surah Luqman

31:13

وَإِذْ قَالَ لُقْمَٰنُ لِٱبْنِهِۦ وَهُوَ يَعِظُهُۥ يَٰبُنَىَّ لَا تُشْرِكْ بِٱللَّهِ ۖ إِنَّ ٱلشِّرْكَ لَظُلْمٌ عَظِيمٌۭ

And [mention, O Muhammad], when Luqman said to his son while he was instructing him, "O my son, do not associate [anything] with Allah. Indeed, association [with him] is great injustice."

Tafsir 31:13

O Messenger! Remember when Luqman said to his son, encouraging him to do good and warning him from evil, “O my son! Do not worship any of the creation along with Allah; indeed the worship of a deity besides Allah is a grave injustice on the self, and is a cause for permanently staying in the hellfire.”