Hadithcore
Sunan Abi Dawud, 4614

Khalid al-Hadhdha said:

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.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْجَرَّاحِ، قَالَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ خَالِدٍ الْحَذَّاءِ، قَالَ قُلْتُ لِلْحَسَنِ يَا أَبَا سَعِيدٍ أَخْبِرْنِي عَنْ آدَمَ، لِلسَّمَاءِ خُلِقَ أَمْ لِلأَرْضِ قَالَ لاَ بَلْ لِلأَرْضِ ‏.‏ قُلْتُ أَرَأَيْتَ لَوِ اعْتَصَمَ فَلَمْ يَأْكُلْ مِنَ الشَّجَرَةِ قَالَ لَمْ يَكُنْ لَهُ مِنْهُ بُدٌّ ‏.‏ قُلْتُ أَخْبِرْنِي عَنْ قَوْلِهِ تَعَالَى ‏{‏ مَا أَنْتُمْ عَلَيْهِ بِفَاتِنِينَ * إِلاَّ مَنْ هُوَ صَالِ الْجَحِيمِ ‏}‏ قَالَ إِنَّ الشَّيَاطِينَ لاَ يَفْتِنُونَ بِضَلاَلَتِهِمْ إِلاَّ مَنْ أَوْجَبَ اللَّهُ عَلَيْهِ الْجَحِيمَ ‏.‏

References2 variants
In-Book Reference
Book 42, Hadith 19
English Reference
Book 41, Hadith 4597