Jami` at-Tirmidhi, Book 43, Hadith 28 (Tirmidhi 2833)

Narrated Anas:

from the Prophet (ﷺ), that he (ﷺ) fixed the time as every forty nights for them to trimming the fingernails, taking from the mustache, and shaving the pubic hairs.