Surah Al-Ma'idah 5:102
قَدْ سَأَلَهَا قَوْمٌ مِّن قَبْلِكُمْ ثُمَّ أَصْبَحُوا۟ بِهَا كَـٰفِرِينَ
A people asked such [questions] before you; then they became thereby disbelievers.
Translation: Saheeh International
Tafsir
Verily a people before you asked about them that is they asked their prophets about such things and they received the response in the form of revealed explications of the rules concerning them; and then they disbelieved in them by neglecting to implement them.
Excerpt from Tafsir al-Jalalayn, commentary on 5:102, via Quran.com. The reader has the full commentary and 9 more tafsirs.