Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:259cSahl b. ʿUthmān > Yazīd b. Zurayʿ > ʿUmar b. Muḥammad > Nāfiʿ > Ibn ʿUmar

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

مسلم:٢٥٩cحَدَّثَنَا سَهْلُ بْنُ عُثْمَانَ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ عَنْ عُمَرَ بْنِ مُحَمَّدٍ حَدَّثَنَا نَافِعٌ عَنِ ابْنِ عُمَرَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ خَالِفُوا الْمُشْرِكِينَ أَحْفُوا الشَّوَارِبَ وَأَوْفُوا اللِّحَى  


See similar narrations below:

Collected by Tirmidhī, Aḥmad, Suyūṭī
tirmidhi:2763al-Ḥasan b. ʿAlī al-Khalāal > ʿAbdullāh b. Numayr > ʿUbaydullāh b. ʿUmar > Nāfiʿ > Ibn ʿUmar

that the Messenger of Allah ﷺ said: "Trim the mustache and leave the beard to grow."  

Abū ʿĪsá said that this Ḥadīth is Ṣaḥīḥ.
الترمذي:٢٧٦٣حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ الْخَلاَّلُ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ أَحْفُوا الشَّوَارِبَ وَأَعْفُوا اللِّحَى  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ صَحِيحٌ
ahmad:4654Yaḥyá > ʿUbaydullāh > Nāfiʿ > ʿAbdullāh b. ʿUmar

"The Messenger of Allah [SAW] said: 'Let the beard grow and trim the mustache.'" (Using translation from Nasāʾī 5046)  

أحمد:٤٦٥٤حَدَّثَنَا يَحْيَى عَنْ عُبَيْدِ اللهِ أَخْبَرَنَا نَافِعٌ عَنْ عَبْدِ اللهِ بْنِ عُمَرَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ أَحْفُوا الشَّوَارِبَ وَأَعْفُوا اللِّحَى