Sahih Muslim, Book 2, Hadith 69 (Muslim 599)

Ibn Umar said:

The Messenger of Allah (may peace be opon him) said: Act against the polytheists, trim closely the moustache and grow beard.