Sura Al-Maaida

5:102

قَدْ سَأَلَهَا قَوْمٌۭ مِّن قَبْلِكُمْ ثُمَّ أَصْبَحُوا۟ بِهَا كَٰفِرِينَ

Människor som levde före er ställde sådana frågor, och resultatet av detta blev att de [till sist] förnekade sin tro.

Tafsir 5:102

A nation before you had asked about things not initially revealed to them. When they were then commanded to do them, they did not carry out the order; and became disbelievers as a result.