Offering the Two Rakat of Greeting the Masjid

Offering the Two Rakat of Greeting the Masjid: Recommended?

What is the ruling of offering the two rakahs of greeting the masjid (mosque)? Is it permissibl ...