He was a grandson of the Prophet Mohammed .