Saluting the leaders and the presidents like non-Muslims do

Question: What is the ruling on those who work for the Egyptian Army as a source of their sustenance where the military rules and regulations force them to salute one another as the non-Muslims do or in a manner unlike that ordered by Allaah and His Prophet. Also, they have to salute the state flag and submit to the Military laws instead of the Sharee`ah (Islaamic law).

Answer: It is not permissible to salute the flag. Rather, you should abide by the Islaamic Sharee`ah and resort to it for judgment. It is not permissible for a Muslim to salute leaders and presidents like the non-Muslims do for there are some reports that prohibit imitating them and saluting leaders in such ways is a kind of extreme glorification to them… read more here.

Saluting the flag, honoring officers, and shaving beards when in the army

Question: What is the ruling on saluting the flag, honoring officers, and shaving beards when in the army?

Answer:  Saluting the flag is not permissible; it is a Bid`ah (innovation in religion) and the Prophet (peace be upon him) said, Anyone who does something in this matter of ours (the religion) that is not from it, it will be rejected. Related by Al-Bukhaaree and Muslim. However, honoring officers, or anybody else, by paying them their due respect without being excessive is permissible… read more here.