The following question was asked of a marja`:
What is the ruling on shaving the beard?
The marja,` Imam `Abdur-Rahman Ash-Shami, may Allah preserve him, answered with what follows:
Praise be to Allah and peace and blessings be upon our Master, the Messenger of Allah, his family and Companions.
Regarding the question put forward, I will quote the hadith in the collection of Imam Al-Bukhari in which the Prophet, peace and blessings of Allah be upon him, said, “Be different to the idol worshippers. Leave the beards be and par the moustaches.”
The scholars of fiqh from the Malikis, Hanafis and Hanbalis have explicitly stated that it is impermissible to shave the beard. They hold that the wording in the hadith…”be different to the idol worshippers…” and …”leave the beard…” is a directive that is compulsory.
The only dispute is that some of the high ranking leaders of the Shafi`ii scholars hold the position that it is merely disliked to shave it but others in their madhhab do not agree with them on that.
This discussion was mentioned by the Shaikh, Muhammad Al-Hamid in his small research on the topic of shaving the beard.
The dominant and most preponderant position is that which the vast majority of the scholars of fiqh have settled upon, namely that it is impermissible to shave it.
And Allah is sufficient for me to give success in tendering this reply.
Taken from the website of the maraji`