Can You Pray Tahiyyat Al-Masjid During Adhan?
Question

When entering the masjid while the Adhan is being called, should I wait to perform the 2 Rak`ahs sunnah salat for entering the mosque until the end of the Adhan or perform it while the Adhan is being called?
Praise be to Allah.“It is preferable for him to repeat after the Mu’adhdhin , then make Du`a after that as narrated (in the Sunnah), then pray Tahiyyat Al-Masjid (two Rak`ahs to “greet the mosque”). But some of the scholars made an exception in the case of one who enters the mosque when the muezzin is calling the second adhan on Friday. In this case he should pray Tahiyyat Al-Masjid so that he can then listen to the khutbah. 
Their basis for saying that was that listening to the Khutbah is obligatory whereas repeating after the  Mu’adhdhin is not obligatory, so observing that which is obligatory takes priority over observing that which is not obligatory.” (End quote from Fatawa Arkan Al-Islam by Ibn `Uthaymin, p. 28) 
Some scholars said that it is better to combine the two, by repeating after the Mu’adhdhin, because this is prescribed, then praying two short Rak`ahs. 
And Allah knows best.