Abu Bakr said, when he sent me to Syria: O Yazeed, you have relatives and you may give them precedence in allocating positions of authority; that is the most serious thing I fear for you, because the Messenger of Allah ﷺ said: ʿWhoever is appointed in charge of any affairs of the Muslims and appoints over them anyone by way of favouritism, the curse of Allah be upon him and Allah will not accept any obligatory or nafl prayer from him until he admits him to Hell. And whoever allows anyone to transgress the sacred limits set by Allah has transgressed the sacred limits of Allah unlawfully, and on him will be the curse of Allah and Allah will forsake him.ʿ (Using translation from Aḥmad 21)
لِي أَبُو بَكْرٍ الصِّدِّيقُ حِينَ بَعَثَنِي إِلَى الشَّامِ يَا يَزِيدُ إِنَّ لَكَ قَرَابَةً عَسَيْتَ أَنْ تُؤْثِرَهُمْ بِالْإِمَارَةِ ذَلِكَ أَكْثَرُ مَا أَخَافُ عَلَيْكَ فَقَدْ قَالَ رَسُولُ اللَّهِ ﷺ «مَنْ وَلِيَ مِنْ أَمْرِ الْمُسْلِمِينَ شَيْئًا فَأَمَّرَ عَلَيْهِمْ أَحَدًا مُحَابَاةً فَعَلَيْهِ لَعْنَةُ اللَّهِ لَا يَقْبَلُ اللَّهُ مِنْهُ صَرْفًا وَلَا عَدْلًا حَتَّى يُدْخِلَهُ جَهَنَّمَ»