The four main schools of jurisprudence allow tawassul in all the 4 types.
- By mentioning the beautiful names of Allah
- One’s own good deeds
- Through a pious living person
- Deceased pious person
The first time tawassul through a deceased pious person (including Prophets and Messengers) was deemed impermissible was Imam ibn Taymiyya.