‘Abdallah b. ‘Amr reported that he heard God’s messenger say, “God created His creatures in darkness and cast some of His light upon them. Those on whom some of that light falls will have guidance, but those who are missed by it will go astray. On that account I say that the pen has no more to write about God’s knowledge.”
Abu Musa reported that he heard God’s messenger say, “God created Adam from a handful which he took from the whole of the earth; so the children of Adam are in accordance with the earth, some red, some white, some black, some a mixture, also smooth and rough, bad and good.”
Anas reported that God’s messenger often said, “O Thou who turnest the hearts about, establish my heart in Thy religion.” Anas said, “Prophet of God, do you fear for us who believe in you and in your message?” He replied, “Yes. The hearts are between two of God’s fingers and He turns them about as He wills.”
God’s messenger came out to us when we were arguing about God’s decree. He was angry and his face became so red that it looked as if pomegranate seeds had been burst open on his cheeks. He then said, “Is this what you were commanded to do, or was it for this purpose that I was sent to you? Your predecessors perished only when they argued about this matter. I adjure you, I adjure you, not to argue about it.”
Tirmidhi transmitted it, and Ibn Majah transmitted something similar from ‘Amr b. Shu'aib from his father from his grandfather.