Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: The Messenger of Allah (peace and blessings be upon him) addressed us in the Masjid al-Khayf. He (peace and blessings be upon him) praised and glorified Allah as He deserves, then said: "Whoever makes the Hereafter his concern, Allah gathers all his affairs together for him, places his self-sufficiency before his eyes, and the world comes to him of its own accord even though it is unwilling. And whoever makes the world his concern, Allah scatters his affairs, places his poverty before his eyes, and he receives of the world only what has been written for him."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11640