Ethics and moral codes are influenced by belief in Allah and understanding His values and what He likes and dislikes for humanity. A moral belief system stems from knowing God's preferences for how His creations should act and treating others based on that understanding. Acting in accordance with God's approval and discouraging wrongdoing are influenced by faith in Allah and comprehending His guidance.