Ash-Shaykh Bin Baaz rahimahullah, said:
أن يقوم لغيره واقفا لدخوله أو خروجه من دون مقابلة ولا مصافحة ، بل لمجرد التعظيم ، فهذا أقل أحواله أنه مكروه ، وكان الصحابة رضي الله عنهم لا يقومون للنبي صلى الله عليه وسلم إذا دخل عليهم ، لما يعلمون من كراهيته لذلك عليه الصلاة والسلام .
“… Those who stand up when someone would enter or when departing out of mere glorification and not for the purpose to confront him or to shake his hands, this is at least a Makruh (disliked) act. The Companions of the Prophet (peace be upon him) used not to stand up for him upon his entering, because they knew that he disliked this action.
Shaykh Islam Ibn Taymiyyah rahimahullah, said:
“…So they might not be acting like the non-Arabs who used to stand up for the great people among them while they were sitting. The gist of all this is to stick to the habits and morals of the Salaf and strive as hard as one can to stick to their practices. In case that someone is not aware of this and people fear that abandoning this act of respect with him or her may result in harm, then it is better to go with the lesser harm than the greater one just as the better of two good deeds prevails.”
Ash-Shaykh Muhammad bin Saalih al-Uthaymeen, rahimahullah:
وأما القيام للشخص فهو الذي ذكرناه قريباً، وأن الأفضل تركه، ولكن إذا اعتاده الناس وكان في تركه مفسدة فإنه لا ينبغي تركه درءاً لهذه المفسدة
“…As for standing for a person, then it is as we mentioned earlier and (that is) that it is better to be left off. However, if the people have accustomed it while some harm will happen when it is left off, then it shouldn’t be left off in order to avoid this harm…”
A Note: Likewise, if a person were to be trialed in court with having to stand up for the judge and the person fears if he doesn’t stand for him, a greater harm may arises from it, and the person won’t be able to excuse himself, then there is no sin upon him in standing in this case. Allah knows best.
AbdulFattaah Bin Uthman