I said to Hasan, "Abu Saeed, tell me about Adam. Was he created for the heavens or for the earth?"He replied, "No, rather for the earth."I said, "What do you think, had he held fast and not eaten from the tree?"He answered, "There was no escape from it for him."I said, "Tell me about the words of Allah Most High, 'You cannot tempt away from Him anyone except those who are bound for the Blaze' [Saffat 37:162–163]."He said, "The devils do not lead astray with their misguidance anyone except those upon whom Allah has decreed the Blaze."
حدثنا عبد الله بن الجراح قال حدثنا حماد بن زيد
قلت للحسن يا أبا سعيد أخبرني عن آدم أللسماء خلق أم للأرض قال لا بل للأرض قلت أرأيت لو اعتصم فلم يأكل من الشجرة قال لم يكن له منه بد قلت أخبرني عن قوله تعالى {ما أنتم عليه بفاتنين إلا من هو صال الجحيم} قال إن الشياطين لا يفتنون بضلالتهم إلا من أوجب الله عليه الجحيم
The beginning of Kitab al-Sunnah. Documentation: [Its chain is sahih] Bayhaqi narrated it in Al-Qadaa wal-Qadar (p. 86a) from the hadith of Hammad bin Zayd through this chain.