Many people offer only 2 rak’ahs of Sunnah before Zuhr prayer, and 2 after it. Few are those who offer the recommended 4 and many do not offer the 2 rak’ahs of greeting to the mosque. Please comment.

When we speak of Sunnah prayer, we are actually speaking of voluntary prayers. If it is voluntary, then one cannot ask any person why he did not volunteer more. It is entirely up to him. A person who offers more voluntary prayers stands to earn greater reward. The recommended prayer before Zuhr is 4 rak’ahs, which are offered in two lots of 2 rak’ahs each. If a person offers only 2 rak’ahs, that is good, and if he offers 4, that is even better. As for the prayer known as greeting to the mosque, it is offered on entry into any mosque other than the Ka’abah, where the greeting is the tawaf. However, this prayer is integrated with any obligatory or voluntary prayer one intends to offer shortly after getting into the mosque.

Thus, if you go to the mosque to offer Zuhr prayer and you start with 2 rak’ahs of Sunnah, the greeting to the mosque is integrated with this Sunnah. If you find the congregational prayer has started, you must join it, and your prayer includes the mosque greeting if you intend it so.