Sahih al-Bukhari, Book 23, Hadith 52 (Bukhari 1252)

Narrated `Abdullah:

the Prophet (ﷺ) said, "He who slaps his cheeks, tears his clothes and follows the ways and traditions of the Days of Ignorance is not one of us."