It is narrated from the Prophet of Islam (PBUH) who said:
Wisdom and intellect has been divided into three parts and a person who has all parts, his/her wisdom is complete; and the one who does not have these, has no wisdom: Proper and appropriate knowledge and recognition of Allah (SWT), proper and appropriate obedience of God, and deep and exact recognition of God’s commands and how to live [1].
[1] Khisal, Sheikh Sadooq, Page 102.
Source: en.shafaqna.com