This hadith has been narrated by Abu Huraira through a different chain of transmitters (and the words are) that he reported Allah's Messenger (ﷺ) having said:
Abandon that which I have asked you to abandon, for the people before you went to their doom (for asking too many questions).
Reference: Sahih Muslim 1337 d In-book : Book 43, Hadith 173 USC-MSA web (English) : Book 30, Hadith 5820 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.