TABARANI 3356:
from ʿAbd al-Raḥman b. Sulaymān Ibn al-Ghasīl —
[Machine] He (referring to the Prophet Muhammad) came to the Prophet ﷺ on the Day of Al-Khandaq (the Battle of the Trench), while he was taking the oath of allegiance from people for the migration (to Medina). So we thought that they were being invited to pledge allegiance. He (the Prophet) said, "O Messenger of Allah, pledge allegiance to this." He (the Prophet) said, "Who is this?" He (someone) said, "This is my cousin, Hawt bin Yazeed or Yazeed bin Hawt." The Messenger of Allah ﷺ then said, "I will not pledge allegiance to you. People are coming to migrate to you, and you are not migrating to them." Then he (the Prophet) said, "By the One in Whose Hand my soul is, a man from the Ansar does not love them (referring to the immigrants from Mecca) until he meets Allah, and Allah loves him, and a man from the Ansar does not hate them until he meets Allah, and Allah hates him."
الطبراني ٣٣٥٦:
عن عبد الرحمن بن سليمان ابن الغسيل —
أَنَّهُ أَتَى النَّبِيَّ ﷺ يَوْمَ الْخَنْدَقِ وَهُوَ يُبَايِعُ النَّاسَ عَلَى الْهِجْرَةِ فَظَنَنَّا أَنَّهُمْ يُدْعَوْنَ إِلَى الْبَيْعَةِ فَقَالَ يَا رَسُولَ اللهِ بَايِعْ هَذَا قَالَ «مَنْ هَذَا؟» قَالَ هَذَا ابْنُ عَمِّي حَوْطُ بْنُ يَزِيدَ أَوْ يَزِيدُ بْنُ حَوْطٍ فَقَالَ رَسُولُ اللهِ ﷺ «لَا أُبَايِعُكُمْ إِنَّ النَّاسَ يُهَاجِرُونَ إِلَيْكُمْ وَلَا تُهَاجِرُونَ إِلَيْهِمْ» ثُمَّ قَالَ «وَالَّذِي نَفْسِي بِيَدِهِ لَا يُحِبُّ الْأَنْصَارَ رَجُلٌ حَتَّى يَلْقَى اللهَ إِلَّا لَقِيَ اللهَ وَهُوَ يُحِبُّهُ وَلَا يُبْغِضُ الْأَنْصَارَ رَجُلٌ حَتَّى يَلْقَى اللهَ لَقِيَ اللهَ وَهُوَ يُبْغِضُهُ»
hadithunlocked.com