A Person Who Shaves Deserves to be Chastised
Question :
Since the Messenger of Allah ﷺ ordered us to, "Trim our moustaches and grow our beards," will Allâh punish the person who shaves his beard? And is a beard a condition for a Muslim to have complete faith?
Answer:
Shaving the beard is unlawful, and negates the complete faith that is obligatory. A person who shaves deserves to be chastised in this life and punished in the next, unless he repents a sincere repentance before he dies, by regretting his sin, and by growing his beard. Allâh Almighty says:
"And verily, I am indeed Forgiving to him who repents, believes and does righteous good deeds, and then remains constant in doing them."
If he continues to shave until he dies but nevertheless dies a Muslim, he is under Allah's will: If Allâh Almighty wills, He forgives him; if He wills, He punishes him.
Source:
The Permanent Committee
Fatawa Islamiyah, Vol. 8 Pages 239-240