Jami` at-Tirmidhi, Book 48, Hadith 119 (Tirmidhi 3572)

Hisham bin Hassan narrated from Al-Hasan :

concerning the saying of Allah: O our Lord, give us good in this world, and good in the Hereafter. He said: “Knowledge and worship in this world, and Paradise in the Hereafter.”