There are a lot of similarities between ethics and jurisprudence and the sharia. For example, both of them are considered as the area of practical wisdom and learning both of them is to be acted. Moreover, intention is a basic matter in ethics and jurisprudence and the sharia. Intention is even one of the main basics in jurisprudence and is better than acting.
In other words, because the prophet is considered as pattern for people all over the world, God has ordered to fulfill night prayer. Of course, fulfilling obligations as desired actions of God makes human beings achieve high positions and ranks. Hence, by paying attention to each rule of God, human beings can achieve the satisfaction of God that is the purpose of the creation of human beings.
The conditions of the obliged include: a) the obliged should be wise; b) he or she can continue his or her life; c) When he or she wants to fulfill obligations, they should be able to do them; d) he or she should have enough knowledge about them. 
In the sharia of Islam, the rights of human beings have been emphasized as exactly and completely as there are wisdom and philosophy for individual rules such as praying so that people can gain real relaxation that is their right .
Whenever common people and leaders respect the rights of each other and people implement the rights of their leader and vice versa, rights will be highly valuable in that society and the rules of the religion will be implemented.