sources of law
Salmond distinguished formal sources (from which law gets its validity, such as the will of the State) from material sources (from which it gets its content). Material sources are either legal (legislation, precedent, custom, and agreement) or historical (writings of jurists, foreign law, religious texts), the latter having no binding force by themselves.
In India the main legal sources are the Constitution, legislation, judicial precedent (Article 141), and custom (recognised by statutes such as the Hindu Marriage Act). Classical Hindu law was derived from sruti, smriti, commentaries and custom; Muslim law from the Quran, Sunna, ijma and qiyas.
Example
Of the three main sources of law, legislation is the most important today, while custom remains relevant in personal law.
See also
custom · legislation · precedent · smriti