In 780, His successor Muhammad al-Mahdi had it rebuilt, but curtailed its length and increased its breadth.
Pada tahun 780, khalifah selanjutnya Muhammad al-Mahdi membangunnya kembali, tapi ia mengurangi panjangnya serta memperbesar lebarnya.