Individual Muslims follow differing guidelines in this matter. Our understanding from the Qur’an and hadith (prophetic sayings) is that people of the opposite gender should avoid situations, relationships, or actions that might lead to a violation of the principle that couples should abstain from sexual intimacy until after marriage.