Question: Who was named as a teacher at the second madrasa, housed in a mosque?
Sentence: Hazrat 'Ubada bin Samit was appointed there by Hazrat Muhammad as teacher and among the students.[citation needed]
Answer in sentence: yes