It is narrated from Imam Sadeq (AS) who said:
Whoever protects his/her heart from negligence, and keeps away his/her soul from inappropriate desires, and protects his/her wisdom from ignorance, has surely entered himself/herself in the main base of those who are awake [1].
[1] Mesbahul Shariah, Page 22
Source: en.shafaqna.com.