It was narrated from Jabir bin 'Abdullah that the Messenger of Allah (ﷺ) said:
"O people, fear Allah and be moderate in seeking a living, for no soul will die until it has received all its provision, even if it is slow in coming. So fear Allah and be moderate in seeking provision; take that which is permissible and leave that which is forbidden. "
Sunan Ibn Majah » The Chapters on Business Transactions - كتاب التجارات » Hadith
English reference : Vol. 3, Book 12, Hadith 2144
Arabic reference : Book 12, Hadith 2227