يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ أَطِيعُوا۟ ٱللَّهَ وَأَطِيعُوا۟ ٱلرَّسُولَ وَأُو۟لِى ٱلْأَمْرِ مِنكُمْ ۖ Does Surah An-Nisa 4:59 apply to all types of authority in general? For example, hearing and obeying local imams in that which is permissible.

Ustadh AbdulAziz al-Haqqan
Anybody even your own parents or a husband, because if u obey in thay which is forbidden u have disobeyed Allah. However we must be wise, kind, and gentle when we want to show that something is forbidden therefore you are not able to do it for example.