Grand Mosque of Medan or Masjid Raya Al-Mashun is a mosque located in Medan, Indonesia. The mosque was built in the year 1906 and completed in 1909. In beginning of its establishment, the mosque was a part of the Maimun palace complex. Its architectural style combines Middle Eastern, Indian and Spanish elements. The mosque has an octagonal shape and has wings to the south, east, north and west.