Section 40 of Indian Partnership Act

Dissolution by agreement.— A firm may be dissolved with the consent of all the partners or in accordance with a contract between the partners.