qnli question: Who was named as a teacher at the second madrasa, housed in a mosque? sentence: The first institute of madrasa education was at the estate of Hazrat Zaid bin Arkam near a hill called Safa, where Hazrat Muhammad was the teacher and the students were some of his followers.[citation needed]