Sahih Muslim, Book 2, Hadith 68 (Muslim 598)

Ibn Umar said:

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