The Messenger of Allah ﷺ said, "Whoever swears by trust is not one of us."
حدثنا أحمد بن يونس حدثنا زهير حدثنا الوليد بن ثعلبة الطائي
قال رسول الله ﷺ من حلف بالأمانة فليس منا
[Its chain of transmission is sahih] Ahmad narrated it: 5/352, from the hadith of Walid bin Thalaba, through this same chain, and Ibn Hibban graded it sahih, no. 1318.