Muhammad II () (also known by the epithet al-Faqih, "the canon-lawyer", – 8 April 1302; reigned from 1273 until his death) was the second Nasrid ruler of the Emirate of Granada in Al-Andalus on the Iberian Peninsula, succeeding his father, Muhammad I. Already experienced in matters of state when he ascended the throne, he continued his father's policy of maintaining independence in the face of Granada's larger neighbours, the Christian kingdom of Castile and the Muslim Marinid state of Morocco, as well as an internal rebellion by his family's former allies, the Banu Ashqilula.