Substitute for Tahiyyatul Musjid

Question: If I entered the Musjid and it was the makruh time for salaat, the should I still read tahiyyatul Musjid?

Answer: No, you should then read this dua, سبحان الله والحمد لله و لا اله الا الله و الله اكبر, which is the third kalimah.