Al-A'raf 7:28
وَإِذَا فَعَلُوا۟ فَـٰحِشَةً قَالُوا۟ وَجَدْنَا عَلَيْهَآ ءَابَآءَنَا وَٱللَّهُ أَمَرَنَا بِهَا ۗ قُلْ إِنَّ ٱللَّهَ لَا يَأْمُرُ بِٱلْفَحْشَآءِ ۖ أَتَقُولُونَ عَلَى ٱللَّهِ مَا لَا تَعْلَمُونَ
Wa-itha faAAaloo fahishatan qaloowajadna AAalayha abaana wallahuamarana biha qul inna Allaha laya/muru bilfahsha-i ataqooloona AAalaAllahi ma la taAAlamoon
And when they commit an immorality, they say, "We found our fathers doing it, and Allāh has ordered us to do it." Say, "Indeed, Allāh does not order immorality. Do you say about Allāh that which you do not know?"
When they do a shameful act, they say, “We have found our fathers doing it, and Allah has ordered us to do so.” Say, “Allah never orders anything shameful. Do you say about Allah what you do not know?”