He entered upon the Messenger of Allah ﷺ in the upper chamber where he had withdrawn from his wives when he had separated from them. He was lying on a mat with nothing between him and it, and beneath his head was a leather pillow stuffed with palm fibers. Near his feet was a pile of tanning leaves, and by his head hung some leather skins. I saw the marks of the mat on his side, and I wept.He asked, "What makes you weep?"I replied, "Messenger of Allah, Chosroes and Caesar enjoy what they enjoy, while you are the Messenger of Allah ﷺ."He said, "Are you not pleased that they should have this world and we should have the hereafter?"The hadith continues.
أنه دخل على رسول الله ﷺ في المشربة التي كان قد اعتزل فيها نسائه حين إلى منهن، قال: وإنه لعلى حصير ما بينه وبينه شيء، وتحت رأسه وسادة من أدم حشوها ليف، وإن عند رجليه قرظا مصبوبا، وعند رأسه أهب معلقة، فرأيت أثر الحصيرجنبه، فبكيت فقال: ما يبكيك؟ فقلت: يا رسول الله! إن كسرى وقيصر فيما هما فيه، وأنت رسول الله ﷺ. فقال: أما ترضى أن تكون لهم الدنيا ولنا الآخرة؟ الحديث.
Bukhari narrated it in the tafsir (4913), and Muslim in divorce (31:1479), both by way of Sulayman bin Bilal, who said, Yahya told me, Ubayd bin Hunayn told me that he heard Abdullah bin Abbas narrating from Umar bin Khattab, and he mentioned it in a long hadith.