Construction of the mosque started in 1889 following the order of Tengku Sultan Abdul Aziz, late 19th-century ruler of Langkat Sultanate, and son of Tengku Sultan Haji Musa al-Khalidy al-Muazhzham Syah.Шаблон:Sfn The mosque was designed by a German architect. Many of the construction workers were the Chinese inhabitant of Langkat Regency. Material for construction were shipped from Penang and Singapore via the river Batang Serangan, and was transferred on site with 80 ox-carts.Шаблон:Sfn Abdul Aziz died before the completion of the mosque, so the construction was taken over by his son Tengku Sultan Mahmud Rahmat Syah.Шаблон:Sfn The mosque was completed on June 13, 1902. A minaret was added in 1926.Шаблон:Sfn
The mosque was restored several times in 1978-1979, 1980–1981, and 1990-1991.Шаблон:Sfn
The mosque
The mosque stands on a complex of about Шаблон:Convert. The main prayer hall is about 25 x 25 meter. Three Mughal styled entrances on the north, south, and east side of the main prayer hall provide entry points. It is equipped with Mughal-styled copper domes, the heaviest is around 40 tons.Шаблон:Sfn The interior is mainly of marble, with Italian crystal chandeliers.Шаблон:Sfn Within the mosque complex are several tombs of the royal family belonging to the Langkat Sultanate.Шаблон:Sfn
The architecture of the Azizi Mosque had inspired the construction of Zahir Mosque in Kedah, Malaysia.Шаблон:Sfn