Abdullah bin Masud reported,

The Prophet ﷺ was asked, "Which people are the best?"He replied, "My generation, then those who follow them, then those who follow them. Then there will come a people whose testimony will race ahead of their oath, and their oath ahead of their testimony."Ibrahim said, "Our elders used to forbid us, when we were young boys, from swearing by testimony or by covenant."

Azami 7064

Sahih

عن عبد الله بن مسعود قال

سئل النبي ﷺ: أي الناس خير؟ قال: قرني ثم الذين يلونهم، ثم الذين يلونهم، ثم يجيء قوم تسبق شهادة أحدهم يمينه، ويمينه شهادته. قال إبراهيم: وكان أصحابنا ينهونا- ونحن غلمان- أن نحلف بالشهادة والعهد.

الأعظمي 7064صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Oaths and vows
Chapter
Faith
Section
Prohibition of swearing without being asked to swear
Numbering
Jami al-Kamil 7064 (2nd edition)