Abu Hurairah reported,

The Prophet ﷺ said, "When Allah created Adam and breathed into him from His spirit, He extended His hands while they were closed and said, 'Choose whichever of them you wish, Adam.'Adam replied, 'I choose the right hand of my Lord,' though both of His hands are right and blessed.Then He opened it, and there was Adam and his descendants, with each person's lifespan written beside him."

Azami 8334

Hasan

عن أبي هريرة

أن النبي ﷺ قال: لما خلق الله آدم ونفخ فيه من روحه قال بيده وهما مقبوضتان: خذ أيهما شئت يا آدم، فقال: يمين ربي- وكلتا يداه يمين مباركة- ثم بسطها فإذا فيها آدم وذريته وإذا كل إنسان منهم عنده عمره مكتوب.

الأعظمي 8334حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Stories of the prophets
Chapter
News of Adam عليه السلام
Section
News of Adam عليه السلام
Numbering
Jami al-Kamil 8334 (2nd edition)
Azami 8334