The book of Intelligence and ignorance
H 1, Ch. 1, h 1
Abu Ja’far Muhammad ibn Ya’qub has narrated from a number of our people of whom one is Muhammad ibn Yahya al-‘Attar who narrated from Ahmad ibn Muhammad from Hassan ibn Mahbub from ‘Ala’ ibn Razin from Muhammad ibn Muslim from abu Ja’far (a.s) who has said the following.
” When Allah, God, created Intelligence He made it speak and then He said to it, ‘Come forward’.
It came forward. He then said, “Go back.” It went back.
Then Allah said, “I swear by My honor and glory that I have not created any creature more beloved to Me than you. I will not perfect you in anyone except those whom I love. I, however, will command only you to do things and prohibit only you from doing certain things. I will grand blessings (rewards) to you only and will subject only you to punishments.”