Patañjali said this quote

Yoga is the cessation of the movements of the mind. Then there is abiding in the Seer's own form.