Sura Yunus

10:106

وَلَا تَدْعُ مِن دُونِ ٱللَّهِ مَا لَا يَنفَعُكَ وَلَا يَضُرُّكَ ۖ فَإِن فَعَلْتَ فَإِنَّكَ إِذًۭا مِّنَ ٱلظَّٰلِمِينَ

Och anropa inte i Guds ställe dem som varken kan gagna eller skada dig; om du gjorde detta skulle du bli en av dem som begår svår orätt mot sig själva.

Tafsir 10:106

Do not worship, O Messenger, besides Allah, the idols and false gods that have no ability to benefit others, nor can they inflict harm on others. If you worship them, you will then be one of the wrongdoers who breaks Allah’s right and the right of their own souls.