When it’s named after someone

eponym
ˈɛpənɪm/
noun
a person after whom a discovery, invention, place, etc., is named or thought to be named.
a name or noun formed after a person.

Example imam Abu haneefa and the hanafi mathab