The Prophet (pbuh) had cursed the women who tattoo and pluck their eyebrows. Men have been given permission to trim their beard of whatever is in excess of a fist length. If you meant by shaping their beard hair (i.e. by shaving) then this is not permissible also. As a Muslim we endeavour to follow the Prophet (pbuh) in all facets of life. He is our role model and we like to form our 'fashion' from Him (pbuh).