Not really, The Selimiye Mosque [2] surpassed Hagia Sofia, not only the diameter of the dome also its robustness of its structure. Taj Mahal is a product of inspiration taken from Mimar Sinan and they studied Sinan's work.
"Mimar Sinan's architectural concepts were incorporated into the design of the famous Taj Mahal" [1]