The traditions also support this Ayat:
"No Obedience of a creature in contravention to the Divine command."
(Behaarul Anwaar)
Apart from these circumstances, obedience to parents is obligatory with regards to the Makruh and Mubah acts. The same applies to the Wajib-e-Kifai.
If by performing these actions, the parents are displeased or hurt, it is 'Haraam', a Greater Sin and causes one to be 'Aaq-e-Waledain'. Suppose the son wishes to proceed on a non-obligatory journey and the parents restrain him as they fear some harm for him, or because they cannot bear to be separated from him; and the son disobeys them and goes ahead with the journey, such a journey is Haraam. It is a journey of sin. Salaat and Fasting is not Qasr for this journey. In short, anything that causes displeasure and hurts the parents, is absolutely Haraam.
Obedience to parents is not obligatory in the following cases:
When it causes unbearable hardships or harm. For instance, if they restrain the son from marriage when he feels the need for it. Or they order the son to divorce his wife without a sound reason. If such an action will result in harm to both the spouses, it is not obligatory to obey the parents.
As far as I know, it is not obligatory to obey parents even in cases where they do not get angry or hurt if their commands are disobeyed.
As far as possible one should obey their orders and restrain from opposing them. Especially when the parents advise their children for their own benefit and without any selfish motive.
source : GREATER SINS by Ayatullah-ul-Uzma Sayed Abdul Husain Dastghaib Shirazi (r.a.)