Amr bin Awf reported,

He was an ally of Banu Amir bin Luayy and had witnessed Badr with the Messenger of Allah ﷺ. He reported that the Messenger of Allah ﷺ sent Abu Ubayda bin Jarrah to Bahrain to bring its tribute. The Prophet ﷺ had made a peace agreement with the people of Bahrain and appointed Ala bin Hadrami over them.Abu Ubayda arrived with wealth from Bahrain. The Ansar heard of Abu Ubayda's arrival and showed up for the dawn prayer with the Messenger of Allah ﷺ. When the Messenger of Allah ﷺ finished the prayer and turned to leave, they presented themselves before him. The Messenger of Allah ﷺ smiled when he saw them and said, "I think you have heard that Abu Ubayda has arrived with something from Bahrain."They replied, "Indeed, Messenger of Allah."He said, "Rejoice and hope for what will please you. By Allah, it is not poverty that I fear for you. Rather, I fear that worldly riches will be spread before you as they were spread before those who came before you, then you will compete for them as they competed for them, and they will destroy you as they destroyed them."

Ibn Majah 3997

Sahih

حدثنا يونس بن عبد الأعلى المصري أخبرني ابن وهب أخبرني يونس عن ابن شهاب عن عروة بن الزبير أن المسور بن مخرمة أخبره

عن عمرو بن عوف

وهو حليف بني عامر بن لؤي وكان شهد بدرا مع رسول الله ﷺ أن رسول الله ﷺ بعث أبا عبيدة بن الجراح إلى البحرين يأتي بجزيتها وكان النبي ﷺ هو صالح أهل البحرين وأمر عليهم العلاء بن الحضرمي فقدم أبو عبيدة بمال من البحرين فسمعت الأنصار بقدوم أبي عبيدة فوافوا صلاة الفجر مع رسول الله ﷺ فلما صلى رسول الله ﷺ انصرف فتعرضوا له فتبسم رسول الله ﷺ حين رآهم ثم قال أظنكم سمعتم أن أبا عبيدة قدم بشيء من البحرين قالوا أجل يا رسول الله قال أبشروا وأملوا ما يسركم فوالله ما الفقر أخشى عليكم ولكني أخشى عليكم أن تبسط الدنيا عليكم كما بسطت على من كان قبلكم فتنافسوها كما تنافسوها فتهلككم كما أهلكتهم

ابن ماجه 3997صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Tribulation of wealth
Numbering
Darussalam 3997
Ibn Majah 3997