The Book of Miscellany
كتاب المقدمات
(55) Chapter: Excellence of Leading an Ascetic Life, and Virtues of Simple Life
(55) - باب فضل الزهد في الدنيا و الحث على التقلل منها و فضل الفقر
Riyad as-Salihin 469 
Abu Hurairah (May allah be pleased with him) reported:
Messenger of Allah (ﷺ) said: "The world is the believer's prison and the infidel's Jannah".

[Muslim].

وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏ "‏الدنيا سجن المؤمن وجنة الكافر‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 469
In-book reference : Introduction, Hadith 469