The Madrasa al-Ashrafiyya (Arabic: مدرسة الأشرفية, romanized: Madrasa al-’Ashrafiyya) is an Islamic madrasa structure built in 1480–1482 by the Mamluk sultan al-Ashraf Qaytbay (after whom it is named) on the western side of the Haram al-Sharif (Temple Mount) in Jerusalem. Although only a part of the original structure is still standing today, it is a notable example of royal Mamluk architecture in Jerusalem.