The development of science and technology is always ahead and has no point and seems limitless. Although human beings are the agents who started this development but eventually faced with a bitter situation which can sacrifice human moral, right and interest of our future. Shariah criminal offenses nowadays can not only occur or be witnessed by a person in a meeting physically with the perpetrator. As a result of technological developments, such behavior can occur and can be witnessed in general by larger groups. Although the illegal treatment which is not in accordance with sharia law and the moral crisis issues happening surrounding us and is rampant on social media, no enforcement is done on perpetrators who use social media medium. According to sharia principles, something that is wrong should be prevented and it is the responsibility of all Muslim individuals. But what is happening today, some Shariah criminal behavior, especially in relation to ethics, can occur easily using facilities technology driven by technological ingenuity. If the application of existing legal provisions is limited and has obstacles for enforcement purposes, then the problem needs to be overcome due to development the law should be in line with current developments. The study aims to identify a segment and cases of the moral crisis on social media and online using the artificial intelligence (AI) application and to identify the needs for shariah prevention. This thesis uses qualitative approaches, adopts library-based research, and, by content analysis of documents, applies the literature review approach. The findings show that the use of social media and AI technology has had an impact on various issues such as moral crisis, security, misuse, an intrusion of personal data, and the construction of AI beyond human control. Thus, the involvement and cooperation of various parties are needed in regulating and addressing issues that arise as a result of the use of social media and AI technology in human life.