Abdullah bin Abbas reported,

An Arabi gave the Prophet ﷺ a gift, and the Prophet ﷺ gave him something in return.He asked, "Are you satisfied?"The man replied, "No."So he added more and asked, "Are you satisfied?"The man replied, "No."So he added more again and asked, "Are you satisfied?"The man replied, "Yes."The Messenger of Allah ﷺ then said, "I have resolved not to accept a gift except from a Qurashi, an Ansari, or a Thaqafi."

Azami 5981

Sahih

عن ابن عباس

أن أعرابيا وهب للنبي ﷺ هبة، فأثابه عليها قال: رضيت؟ قال: لا. قال: فزاده قال: رضيت؟ قال: لا. قال: فزاده قال: رضيت؟ قال: نعم. قال: فقال رسول الله ﷺ: لقد هممت أن لا أتهب هبة إلا من قرشي، أو أنصاري، أو ثقفي.

الأعظمي 5981صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Gifts, presents, umra, and ruqba
Section
Prophet ﷺ refusing to accept gifts except from known tribes
Numbering
Jami al-Kamil 5981 (2nd edition)
Azami 5981