The Grand Mosque has undergone a series of historical expansions that began since the era of the Rashidun caliphs and continued until the modern era when the Saudi state was established.
This is an ingested summary. Full reporting is available at the primary source below.