Therefore those people are also misguided who only search...
Therefore those people are also misguided who only search for the medical and economic benefits and perform worship acts, pray and supplicate to Allah so that it has a good effect on their spirit and physical body and also to get rid of pains and worries and difficulties and make it a medium for getting tranquility and think that this is the sole purpose of it.
And they are also wrong who wear clean clothes, cut their nails, remove cobwebs from walls, and do not drink water from a cracked bowl and to protect themselves from that water, which is used for bath, consider these teachings to be have spiritual effects, regarding whom knowledge and science has still not unveiled their secrets.
In reality some of the Islamic laws are for the spiritual perfection and for training of the self and some for discipline in day-to-day life and many Islamic laws affect both. Now we shall discuss the limits of research about the logic behind Islamic laws.
Religious commands can be divided into four types: Those orders whose philosophies were clarified to the people at the start of al-Bithah (proclamation of prophethood) and people understood according to their caliber and the information they already had and to make the people to follow the orders regularly rules and regulation were made for example: lying, breach of trust, aspersion, murder, stealing, injustice and cheating was prohibited.
Justice, cleanliness, honesty, helping the oppressed, hard work, doing good to parents, relatives and neighbor, etc. were ordered to be followed. Any sane person understands the philosophy and purpose of these commands. As and when the knowledge and information of practical life of a man increases he will be able to comprehend the values of the Islamic laws in a better way.
Those orders whose wisdom was not understood by the people and sometimes even the scholars of those times the Quran or the sayings of (a.s.) expounded their philosophies. For example, maybe the people of that time were unaware of the three fold benefits of Fasting (ethical, social and medicinal) and did not know about its philosophy. That is why the Holy Quran has pointed towards its ethical effect by saying So that you may guard (against evil).
[Surah Baqarah 2:183] Imam Jafar Sadiq (a.s.) pointed out its social effect and said: So that the wealthy and the poor live a similar life and the wealthy become familiar with the hunger of the poor and try to help the needy.