It was said to Messenger of Allah ﷺ as to who was the most worthy of respect amongst people. He said: The most God-conscious amongst you They said: It is not this that we are asking about, whereupon he said: Then he is Yusuf, the Apostle of Aliah and the son of Allah's Apostle, Ya'qub, who was also the son of Allah's Apostle, the friend of Allah (Ibrahim) They said: This is not what we are asking you. He said: You mean the tribes of Arabia? Those who are good in pre-Islamic days are good in Islam (after embracing Islam) when they get an understanding of it. (Using translation from Muslim 2378)
قِيلَ يَا رَسُولَ اللَّهِ أَيُّ النَّاسِ أَكْرَمُ؟ قَالَ «أَتْقَاهُمْ» قَالُوا لَيْسَ عَنْ هَذَا نَسْأَلُكَ قَالَ «فَيُوسُفُ بْنُ يَعْقُوبَ نَبِيُّ اللَّهِ ابْنُ نَبِيِّ اللَّهِ ابْنِ خَلِيلِ اللَّهِ» قَالُوا لَيْسَ عَنْ هَذَا نَسْأَلُكَ قَالَ «فَعَنْ مَعَادِنِ الْعَرَبِ تَسْأَلُونِي؟ خِيَارُهُمْ فِي الْجَاهِلِيَّةِ خِيَارُهُمْ فِي الْإِسْلَامِ إِذَا فَقُهُوا»