, madÄ ris ) is the Arabic word for any type of school , secular or religious ( of any religion ) . , madÄ ris ) is the Arabic word ( of Semitic origin ; viz Hebrew midrash ) for any type of educational institution , whether secular or religious ( of any religion ) .