choose what brings more good

Every rule from Allah has a reason. If something is good, do it. If it brings harm, leave it. If both good and harm, pick what brings more good. If both are bad, stay away from the worse one. Allah wants peace and kindness for us. A wise heart learns to see which choice brings us closer to Him. (from Syajaratul Ma’arif, Syaikh al-‘Izz bin Abdus Salam)