Sahih Muslim, Book 47, Hadith 10 (Muslim 6710)

Abdullah reported Allah's Messenger (ﷺ) as saying:

Ruined, were those who indulged in hair-splitting. He (the Holy Prophet) repeated this thrice.