Sure Al-A'raaf

7:28

وَإِذَا فَعَلُوا۟ فَٰحِشَةًۭ قَالُوا۟ وَجَدْنَا عَلَيْهَآ ءَابَآءَنَا وَٱللَّهُ أَمَرَنَا بِهَا ۗ قُلْ إِنَّ ٱللَّهَ لَا يَأْمُرُ بِٱلْفَحْشَآءِ ۖ أَتَقُولُونَ عَلَى ٱللَّهِ مَا لَا تَعْلَمُونَ

Und wenn sie eine Abscheulichkeit begehen, sagen sie: "Wir haben unsere Väter darin (vorgefunden, und Allah hat es uns geboten." Sag: Allah gebietet nicht Schändliches. Wollt ihr (denn) über Allah sagen, was ihr nicht wißt?

Tafsir 7:28

If the idolaters commit an indecent act, they defend it, saying they found their fathers doing it and that Allah had commanded them to do it. Tell them O Muhammad: 'Indeed Allah does not command the wrong, rather, He forbids it, so how can you claim such a thing about Him? Or are you O Idolators inventing things about Allah, saying what you do not know about Him?'