NASAI-KUBRA 15:
from Anas b. Mālik —
"A time limit was set for us, by the Messenger of Allah ﷺ, regarding trimming the mustache, clipping the nails and plucking the pubes; we were not to leave that for more than forty days," on one occasion he said: "Forty nights." (Using translation from Nasāʾī 14)
الكبرى للنسائي ١٥:
عن انس بن مالك —
وُقَّتَ لَنَا فِي قَصِّ الشَّارِبِ وَتَقْلِيمِ الْأَظْفَارِ وَحَلَقِ الْعَانَةِ وَنَتْفِ الْإِبْطِ أَنْ لَا نَتْرُكَ أَكْثَرَ مِنْ أَرْبَعِينَ يَوْمًا وَقَالَ مَرَّةً أُخْرَى أَرْبَعِينَ لَيْلَةً
hadithunlocked.com