Ali ibn Abi Talib was the cousin and son-in-law of the Islamic prophet Muhammad. Ali contributed significantly to Islam in its early years and was likely the first male to accept the teachings of Muhammad. Ali is accorded an almost legendary place in Islam as a paragon of virtues, a fount of wisdom, and a fearless but magnanimous warrior.