Answered by Shaykh Amjad Rasheed
What is the ruling of trimming the beard in the Shafii school?
According to the relied-upon position in our school, shaving the beard or trimming it (to made it shorter than a fistful) is offensive, rather than unlawful.
This is the position of the two sheikhs, al-Nawawi and al-Rafii, as well as the majority of later scholars such as Ibn Hajr al-Haytami. There is a weaker position in our school that shaving the beard is unlawful. Some of our Imams like Imam al-Athrui prefers this position. However, the reliable position is that of offensiveness as in at-Tuhfa (9/375) and Ianat it-Talibeen” (2/340).