The Prophet ﷺ said, "The one who hears and obeys has no case against him, and the one who hears and disobeys has no case in his favor."
عن النبي ﷺ قال: إن السامع المطيع لا حجة عليه، وإن السامع العاصي لا حجة له.
Ibn Abu Asim narrated it in Sunnah (1090), and Tabarani in Kabir (19/366), both from the hadith of Muhammad bin Abdul-Rahim Saiqa, who said, Rawh bin Ubada told us, Hammad bin Salama told us, from Jabala bin Atiya, from Ibn Muhayriz, from Muawiya, and he related it.Its isnad is sahih.