The Messenger of Allah ﷺ said, "The world is the believer's prison and the disbeliever's paradise."
حدثنا قتيبة حدثنا عبد العزيز بن محمد عن العلاء بن عبد الرحمن عن أبيه
قال رسول الله ﷺ الدنيا سجن المؤمن وجنة الكافر
Muslim also transmitted it in Sahih Muslim, the Book of Zuhd, chapter "The World is a Prison for the Believer and a Paradise for the Disbeliever," hadith 2956, from Qutayba, on the authority of the same source. Reference: [Ahmad 2/197].There is also a report on this subject from Abdullah bin Amr.