The Apostle of Allah (ﷺ) ordered us to trim the moustache closely and spare the beard.

Sahih Muslim Book 2, Hadith 68