USC-MSA web (English) : Book 19, Hadith 16
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي زِيَادٌ، عَنْ مَالِكٍ، أَنَّهُ سَمِعَ مَنْ، يَثِقُ بِهِ مِنْ أَهْلِ الْعِلْمِ يَقُولُ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أُرِيَ أَعْمَارَ النَّاسِ قَبْلَهُ أَوْ مَا شَاءَ اللَّهُ مِنْ ذَلِكَ فَكَأَنَّهُ تَقَاصَرَ أَعْمَارَ أُمَّتِهِ أَنْ لاَ يَبْلُغُوا مِنَ الْعَمَلِ مِثْلَ الَّذِي بَلَغَ غَيْرُهُمْ فِي طُولِ الْعُمْرِ فَأَعْطَاهُ اللَّهُ لَيْلَةَ الْقَدْرِ خَيْرٌ مِنْ أَلْفِ شَهْرٍ .
Ziyad related to me from Malik that he had heard a man he trusted of the people of knowledge say, "The Messenger of Allah (ﷺ) was shown the lifespans of the people (who had gone) before him, or what Allah willed of that, and it was as if the lives of the people of his community had become too short for them to be able to do as many good actions as others before them had been able to do with their long lives, so Allah gave him Laylat al- Qadr, which is better than a thousand months."
Full reference and source
USC-MSA web (English) : Book 19, Hadith 16 Arabic : Book 19, Hadith 706
View source on Sunnah.com (opens in a new tab)