Sunan Abi Dawud Book 42, Hadith 19
I said to al-Hasan: Abu Sa’id, tell me about Adam. Was he created for the heaven or the earth? He said: No, for the earth. I said: It was unavoidable for him. I said: Tell me about the following verse of the Quran: ”can lead (any) into temptation concerning Allah, except such as are (themselves) going to blazing fire.” He said: The devils do not lead anyone astray by their temptation except the one whom Allah destined to go to Hell.
Ibn ‘Umar had a friend from the people of Syria who used to correspond with him. ‘Abd Allah b. ‘Umar wrote to him: I have been informed that you have talked something about Divine decree. You should write it to me, for I heard the Messenger of Allah (ﷺ) say: Among my community there will be people who will falsify Divine decree.
“And for this did He create them.” He said: He created these for this and those for that.