حَدَّثَنَا سَعِيدٌ قَالَ: نَا عَتَّابُ بْنُ بَشِيرٍ، قَالَ: نَا خُصَيْفٌ، عَنْ مُجَاهِدٍ وَسَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، فِي قَوْلِهِ عَزَّ وَجَلَّ: { وَإِذْ أَخَذَ رَبُّكَ مِنْ بَنِي آدَمَ مِنْ ظُهُورِهِمْ } - قَالَ: أَخَذَ مِنَ النَّبِيِّينَ كُلِّهِمْ قَبْلَ أَنْ يُخْلَقُوا . قَالَ: أَخَذَ النُّطَفَ مِنْ صُلْبِ آدَمَ، فَرَأَى مِنْهَا نُطْفَةً تَتَلَأْلَأُ، قَالَ: أَيْ رَبِّ، أَيُّ بَنِيَّ هَذَا ؟ قَالَ: هَذَا ابْنُكَ دَاوُدُ . قَالَ: أَيْ رَبِّ، كَمْ جَعَلْتَ لَهُ ؟ قَالَ: سِتِّينَ سَنَةً، قَالَ: أَقْلَلْتَ لَهُ، قَالَ: فَأَعْطِهِ مِنْ سِنِينِكَ، فَإِنِّي جَعَلْتُ لَكَ أَلْفَ سَنَةٍ - فَأَعْطَاهُ أَرْبَعِينَ سَنَةً .
فَلَمَّا حَضَرَ أَجَلُ آدَمَ قَالَ: رَبِّ، أَلَيْسَ جَعَلْتَ لِي أَلْفَ سَنَةٍ ؟ قَالَ اللهُ عَزَّ وَجَلَّ: أَلَيْسَ قَدْ جَعَلْتَ مِنْ سِنِينِكَ أَرْبَعِينَ سَنَةً لِدَاوُدَ ؟ فَعِنْدَ ذَلِكَ أَمَرَ اللهُ عَزَّ وَجَلَّ بِالْكِتَابِ وَالشُّهُودِ وَالْبَيِّنَةِ .
Sayyiduna Ibn Abbas (may Allah be pleased with them both) said regarding Allah the Exalted’s statement: ﴿And [mention] when your Lord took from the children of Adam—from their loins﴾: Allah the Exalted took a covenant from all the Prophets even before their birth. He said: Allah the Exalted extracted drops of semen from the back of Adam (peace be upon him), and Adam (peace be upon him) saw among them a shining drop. He said: O my Lord! Who is this among my children? Allah the Exalted said: This is your son Dawud. Adam (peace be upon him) said: O Lord! How long a life have You allotted for him? He said: Sixty years. He said: O Lord! That is little. Allah the Exalted said: Then give him from your lifespan, for I have allotted for you a lifespan of one thousand years. So Adam (peace be upon him) gave forty years from his own life to Dawud (peace be upon him). Then when the time of Adam’s (peace be upon him) death came, he said: O Lord! Did You not allot for me a lifespan of one thousand years? Allah the Exalted said: Did you not give forty years from your lifespan to Dawud? Then Allah the Exalted decreed the command of writing, witnesses, and proof.