Original: They have developed significantly from the open-air spaces that were the Quba Mosque and Al-Masjid al-Nabawi in the 7th century .
Simplified: The earliest mosques in 7th century were open-air spaces , the Quba Mosque and Masjid al-Nabawi .