Section 34 in The Specific Relief Act, 1963
Title: Discretion of court as to declaration of status or right.
Any person entitled to any legal character, or to any right as to any property, may institute a suit against any person denying, or interested to deny, his title to such character or right, and the court may in its discretion make therein a declaration that he is so entitled, and the plaintiff need not in such suit ask for any further relief:
Provided that no court shall make any such declaration where the plaintiff, being able to seek further relief than a mere declaration of title, omits to do so.
Explanation.--A trustee of property is a "person interested to deny" a title adverse to the title of some one who is not inexistence, and for whom, if in existence, he would be a trustee.
Title: Effect of declaration.
A declaration made under this Chapter is binding only on the parties to the suit, persons claiming through them respectively, and, where any of the parties are trustees, on the persons for whom, if in existence at the date of the declaration, such parties would be trustees.
Title: Preventive relief how granted.
Preventive relief is granted at the discretion of the court by injunction, temporary or perpetual.
Title: Temporary and perpetual injunctions.
(1) Temporary injunctions are such as are to continue until a specific time, or until the further order of the court, and they maybe granted at any stage of a suit, and are regulated by the Code of Civil Procedure, 1908 (5 of 1908).
(2) A perpetual injunction can only be granted by the decree made at the hearing and upon the merits of the suit; the defendant is thereby perpetually enjoined from the assertion of a right, or from the commission of an act, which would be contrary to the rights of the plaintiff.
Title: Perpetual injunction when granted.
(1) Subject to the other provisions contained in or referred to by this Chapter, a perpetual injunction may be granted to the plaintiff to prevent the breach of an obligation existing in his favour, whether expressly or by implication.
(2) When any such obligation arises from contract, the court shall be guided by the rules and provisions contained in Chapter II.
(3) When the defendant invades or threatens to invade the plaintiffs right to, or enjoyment of, property, the court may grant a perpetual injunction in the following cases, namely:--
(a) where the defendant is trustee of the property for the plaintiff;
(b) where there exists no standard for ascertaining the actual damage caused, or likely to be caused, by the invasion;
(c) where the invasion is such that compensation in money would not afford adequate relief;
(d) where the injunction is necessary to prevent a multiplicity of judicial proceedings.