B.G 2.64 and 65
rāgadvēṣavimuktaistu viṣayānindriyaiścaran। ātmavaśyairvidhēyātmā prasādamadhigacchati ॥64॥
prasādē sarvaduḥkhānāṁ hānirasyōpajāyatē। prasannacētasō hyāśu buddhiḥ paryavatiṣṭhati ॥65॥
One who has become free from passion and hatred, in-spite of the material topics coming in contact with indriyas freely, who has got indriyas under his grasp, who has made indriyas his servant, obtains grace, i.e. serenity of mind. From that grace, destruction of all miseries becomes possible. Certainly that serene minded, soon gets himself established in sufficient wisdom.
Note: Even though we loosely translate 'indria' as 'senses', in the Indian philosophical system 'indriya' always refers collectively to five senses, jnanēndriy , i.e. organs of senses, five functional organs, karmēndriya , i.e. organs of action, and the mind, ubhayēndriya , organ that has dual function of sensing and action, totalling eleven in number.