I have never seen an imam who offered the two rak’ahs of greeting the mosque when he comes in on Fridays. He normally comes into the mosque at the last minute, when the Athan is called and go straight ahead to deliver their sermons. Are imams exempt from offering this Sunnah?
No one is exempt from a Sunnah prayer. It applies to every body. However, by definition, a Sunnah is not obligatory. A person has the choice whether to offer it or not. Once Omar ibn al-Khattab offered only one rak’ah in a Sunnah prayer in the mosque. He was asked about it. His answer was that it was only voluntary: people may reduce or increase it as they wish. It is not right that we question or criticize people on their practice of Sunnah. Had it been absolutely necessary to offer a particular prayer, God would have made it obligatory.
Having said that, I would like to mention that in most mosques there is a room for the imam, where he rests or studies if he is not engaged in prayer. The imam might have offered the greeting prayer on his arrival and went to his room. He does not need to offer it again when he enters the mosque a second time. Besides, it is not right to watch what people may or may not do. We should concentrate on our own action, trying always to do any voluntary act of worship we can in order to increase our reward and ensure that God may forgive us our sins.