The Messenger of Allah ﷺ set a time limit for us regarding trimming the moustache, clipping the nails, shaving the pubic hair, and plucking the underarm hair, that we should not leave it for more than forty days. On another occasion he said, "forty nights."
أخبرنا قتيبة قال حدثنا جعفر هو ابن سليمان عن أبي عمران الجوني
وقت لنا رسول الله ﷺ في قص الشارب وتقليم الأظفار وحلق العانة ونتف الإبط أن لا نترك أكثر من أربعين يوما وقال مرة أخرى أربعين ليلة