Praise be to Allah.
The Sahaabah have a high status in Islam, because they were the contemporaries of the Messenger of Allah (peace and blessings of Allah be upon him); they fulfilled the duty of supporting him and being loyal to him, and they strove for the sake of Allah with their efforts, their wealth and their selves. Hence the scholars are agreed that they are the elite and the best of this ummah, and that Allah gave them the honour of being the companions of the Messenger of Allah (peace and blessings of Allah be upon him). He praised them in His Book when He said (interpretation of the meaning):
“Muhammad is the Messenger of Allah. And those who are with him are severe against disbelievers, and merciful among themselves. You see them bowing and falling down prostrate (in prayer), seeking Bounty from Allah and (His) Good Pleasure. The mark of them (i.e. of their Faith) is on their faces (foreheads) from the traces of prostration (during prayers)”[al-Fath 48:29]
And the Messenger of Allah (peace and blessings of Allah be upon him) praised them when he said: “The best of my ummah is my generation, then those who come after them, then those who come after them.” (al-Bukhaari, 3650; Muslim, 2535)
The Prophet (peace and blessings of Allah be upon him) warned against belittling them, mocking them or insulting them when he said: “Whoever insults my companions, the curse of Allah, the angels and all of mankind will be upon him.” (al-Silsilah al-Saheehah, 2340).
Portraying any one of them on stage or on the screen is contrary to this praise from Allah, and is detrimental to the high status and honour which Allah has bestowed upon them. That is because representing any one of them in this fashion exposes them to mockery and ridicule. Actors are usually people who have no room for righteousness, piety and Islamic morals in their lives. Moreover those who put on plays are doing that as a means to earn money, and no matter how much they try to avoid it, it will involve some lying and backbiting.
Representing the Sahaabah (may Allah be pleased with them) has an effect on their status in the hearts and minds of the Muslims, and paves the way for Muslims to doubt their religion. It also necessarily implies that one of the actors will play the role of Abu Jahl or one of his ilk among the kuffaar, and he will have to utter words insulting Bilaal, and insulting the Messenger (peace and blessings of Allah be upon him) and the message of Islam that he brought. Undoubtedly this is a great evil.
What is said about this serving the interest of calling people to Islam and spreading noble Islamic morals and etiquette is simply an assumption and wishful thinking. Whoever knows the real nature and aims of actors will realize that this kind of acting is in sharp contrast to the real nature of the actors and their audience.
One of the basic principles in Islamic sharee’ah is that if a matter both serves an interest and does some harm, if the bad outweighs the good then it is haraam. Representing the Sahaabah may serve some interest but the harm done by this is far greater than any good that might be achieved.
So in order to protect those interests and ward off the harm, and to preserve the honorable status of the companions of the Messenger of Allah (peace and blessings of Allah be upon him), we must not allow that.
Based on the above, it is haraam to represent any of the companions of the Prophet (peace and blessings of Allah be upon him) in movies or plays etc.
And Allah knows best. May Allah send blessings and peace upon our Prophet Muhammad and all his family and companions.