who is qasim ibn muhammad