In Islam, the idea of niyyah is rooted in the idea that one’s actions are not just important, but their intentions as well. For example, if someone is fasting during the month of Ramadan, but accidentally eats, then it is as if they did not break their fast. Below is a comical video where someone called a sheikh with a question during Ramadan.