Law is the principles and regulations established in a community by some authority and applicable to its people, whether in the form of legislation or of custom and policies recognized and enforced by judicial decision.
Law is any written or positive rule or collection of rules prescribed under the authority of the state or nation, as by the people in its constitution e.g. bylaw, statutory law.
Law is the controlling influence of such rules; the condition of society brought about by their observance: maintaining law and order, often codified by a system or collection of such rules.
Legislation is a rule or set of rules, enforceable by the courts, regulating the government of a state, the relationship between the organs of government and the subjects of the state, and the relationship or conduct of subjects towards each other. a rule or body of rules made by the legislature