Muhammed II al-Faqih was the son and heir of Mohammed ibn Alhamar and the second Nasrid ruler of the Emirate of Granada in Al-Andalus on the Iberian Peninsula. He served as a vizier during his father’s Sultanate. Known as "al-Faqih" or the lawgiver, he continued architectural work at the Alhambra. He was literate and often wrote his own letters of state.
The second Nasrid ruler died on April 8, 1302, after his son Muhammed III, allegedly had him poisoned.