Between 1428 and 1431, he also supported the construction of two Islamic institutions in Makkah and Madinah, known as Bangaliyah Madaris. The Sultan gained permission by establishing close ties with and presenting Barakat ibn Hasan, the Sharif of Makkah, with gifts and robes of honour.