The zawiya is already known to mean the "angle" and could be related to the word "sufism." The similarities between these two words is the history that comes from the nineteenth century and to the year of 1853.
There are many buildings that are still standing that represent history, including the Mohammad Al-Amin mosque that was believed to be named after Muhammad. The Ottoman empire's Ottoman Sultan Abdul Hamid had Shaykh Muhammad Abu Nasr Al-Yafi originally name the mosque "Zawiya Abu Nasr" and then was later on carrying the name in reference to Muhammad.