The oldest mosques in the world bear witness to the spread of Islam from the Arabian Peninsula to across the globe.