While in Islamic cultures there appears to be a relevant concept, plenty of feedback in this thread demonstrates that in English-speaking and other western-like cultures "love" in the described context is not well understood, and would create confusion; thus it's to be avoided.
"Respect" of course is totally understood and relevant and appropriate.
But perhaps you are looking for these expressions:
- grateful
- thankful
- appreciating, appreciative
All these involve not the teacher themselves, rather what the teacher did, or contributed. For example:
I am grateful / thankful for the teacher's
- efforts
- devotion to their craft
- selfless sacrifices for the students' development