We were sitting with the Prophet ﷺ, and he had a stick in his hand with which he was scratching the ground. Then he raised his head and said, "There is none among you whose place in Paradise or in the Hellfire has not already been written."Someone asked, "Messenger of Allah, should we then not rely upon this and abandon striving?"He replied, "No. Keep working, for everyone is made easy toward that for which he was created."Then he recited, "As for the one who gives and is mindful of Allah and believes in the best reward, We will ease him toward ease. But as for the one who is stingy and considers himself self-sufficient and denies the best reward, We will ease him toward hardship." [Layl 92:5–10]
حدثنا عثمان بن أبي شيبة حدثنا وكيع ح و حدثنا علي بن محمد حدثنا أبو معاوية ووكيع عن الأعمش عن سعد بن عبيدة عن أبي عبد الرحمن السلمي
كنا جلوسا عند النبي ﷺ وبيده عود فنكت في الأرض ثم رفع رأسه فقال ما منكم من أحد إلا وقد كتب مقعده من الجنة ومقعده من النار قيل يا رسول الله أفلا نتكل قال لا اعملوا ولا تتكلوا فكل ميسر لما خلق له ثم قرأ {فأما من أعطى واتقى وصدق بالحسنى فسنيسره لليسرى وأما من بخل واستغنى وكذب بالحسنى فسنيسره للعسرى}
Sourcing. Bukhari narrated it in Tafsir, Surah "By the night when it covers" [Layl 92:1], chapter on His saying, "But as for he who withholds" ... "and considers himself self-sufficient" [Layl 92:8–9], hadith no. 4947, and elsewhere hadith no. 2647, and Muslim narrated it in Qadr, chapter on how man is created, the hadith of Waki, through him, and both of them have multiple chains for it.