Musnad Ahmad 311
It was narrated from Muslim bin Yasar al-Juhani that `Umar bin al-Khattab was asked about this verse:
`And (remember) when your Lord brought forth from the Children of Adam, from their loins` [al-A`raf 7:172], `Umar (رضي الله عنه) said: I heard the Messenger of Allah (ﷺ) being asked about it and the Messenger of Allah (ﷺ) said: `Allah created Adam, then He passed His right hand over his loins and brought forth from him his offspring and said: I have created these for Paradise and they will do the deeds of the people of Paradise. Then He passed (His hand) over his loins and brought forth from him his offspring and said: I have created these for Hell and they will do the deeds of the people of Hell.” A man said: O Messenger of Allah (ﷺ), why then should we strive? The Messenger of Allah (ﷺ) said: `When Allah creates a person for Paradise, He causes him to do the deeds of the people of Paradise until he dies doing one of the deeds of the people of Paradise and is admitted to Paradise thereby. And when He creates a person for Hell, He causes him to do the deeds of the people of Hell until he dies doing one of the deeds of the people of Hell and is admitted to Hell thereby.”
حَدَّثَنَا رَوْحٌ، حَدَّثَنَا مَالِكٌ، ح وَحَدَّثَنَا إِسْحَاقُ، أَخْبَرَنِي مَالِكٌ، قَالَ أَبُو عَبْد الرَّحْمَنِ عَبْد اللَّهِ بْن أَحْمَد و حَدَّثَنَا مُصْعَبٌ الزُّبَيْرِيُّ، حَدَّثَنِي مَالِكٌ، عَنْ زَيْدِ بْنِ أَبِي أُنَيْسَةَ، أَنَّ عَبْدَ الْحَمِيدِ بْنَ عَبْدِ الرَّحْمَنِ بْنِ زَيْدِ بْنِ الْخَطَّابِ، رَضِيَ اللَّهُ عَنْهُ أَخْبَرَهُ عَنْ مُسْلِمِ بْنِ يَسَارٍ الْجُهَنِيِّ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ، رَضِيَ اللَّهُ عَنْهُ سُئِلَ عَنْ هَذِهِ الْآيَةِ ‏{‏وَإِذْ أَخَذَ رَبُّكَ مِنْ بَنِي آدَمَ مِنْ ظُهُورِهِمْ ذُرِّيَّاتِهِمْ‏}‏ الْآيَةَ فَقَالَ عُمَرُ رَضِيَ اللَّهُ عَنْهُ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ سُئِلَ عَنْهَا فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّ اللَّهَ خَلَقَ آدَمَ ثُمَّ مَسَحَ ظَهْرَهُ بِيَمِينِهِ وَاسْتَخْرَجَ مِنْهُ ذُرِّيَّةً فَقَالَ خَلَقْتُ هَؤُلَاءِ لِلْجَنَّةِ وَبِعَمَلِ أَهْلِ الْجَنَّةِ يَعْمَلُونَ ثُمَّ مَسَحَ ظَهْرَهُ فَاسْتَخْرَجَ مِنْهُ ذُرِّيَّةً فَقَالَ خَلَقْتُ هَؤُلَاءِ لِلنَّارِ وَبِعَمَلِ أَهْلِ النَّارِ يَعْمَلُونَ فَقَالَ رَجُلٌ يَا رَسُولَ اللَّهِ فَفِيمَ الْعَمَلُ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّ اللَّهَ عَزَّ وَجَلَّ إِذَا خَلَقَ الْعَبْدَ لِلْجَنَّةِ اسْتَعْمَلَهُ بِعَمَلِ أَهْلِ الْجَنَّةِ حَتَّى يَمُوتَ عَلَى عَمَلٍ مِنْ أَعْمَالِ أَهْلِ الْجَنَّةِ فَيُدْخِلَهُ بِهِ الْجَنَّةَ وَإِذَا خَلَقَ الْعَبْدَ لِلنَّارِ اسْتَعْمَلَهُ بِعَمَلِ أَهْلِ النَّارِ حَتَّى يَمُوتَ عَلَى عَمَلٍ مِنْ أَعْمَالِ أَهْلِ النَّارِ فَيُدْخِلَهُ بِهِ النَّارَ‏.‏