Hawzah News Agency - Abu Ja’far (al-Baqir) has said:
لَمَّا خَلَقَ الله الْعَقْلَ اسْتَنْطَقَهُ ثُمَّ قَالَ لَهُ أَقْبِلْ فَأَقْبَلَ ثُمَّ قَالَ لَهُ أَدْبِرْ فَأَدْبَرَ ثُمَّ قَالَ وَعِزَّتِي وَجَلالِي مَا خَلَقْتُ خَلْقاً هُوَ أَحَبُّ إِلَيَّ مِنْكَ وَلا أَكْمَلْتُكَ إِلا فِيمَنْ أُحِبُّ أَمَا إِنِّي إِيَّاكَ آمُرُ وَإِيَّاكَ أَنْهَى وَإِيَّاكَ أُعَاقِبُ وَإِيَّاكَ أُثِيبُ.
“When Allah (swt) created the intellect (al-'Aql) He made it speak and said to it, ‘Come forward', so it came forward. He then said, 'Go back' and it went back. Then Allah said, 'I swear by My Honor and Glory that I have not created any creation more beloved to Me than you. I will not perfect you in anyone except those whom I love. I will command you [to obey me] and prohibit you [from disobeying me] and I will punish you [for disobeying me] and I will reward you [for obeying me].
Al-Kāfi, v.1