When he sent me to Sham, he said, "Yazid, you have relatives, and I fear you may favor them with positions of authority. That is what I fear most for you, because the Messenger of Allah ﷺ said, 'Whoever is given authority over any of the affairs of the Muslims and then appoints someone over them out of favoritism, upon him is the curse of Allah. Allah will accept from him neither obligatory nor voluntary deeds until He casts him into Hellfire. And whoever grants someone what Allah has declared protected, thereby violating Allah's sanctuary unjustly, upon him is the curse of Allah,'" or he said, "'the protection of Allah is removed from him.'"
حدثنا يزيد بن عبد ربه قال حدثنا بقية بن الوليد قال حدثني شيخ من قريش عن رجاء بن حيوة عن جنادة بن أبي أمية عن يزيد بن أبي سفيان قال
حين بعثني إلى الشام يا يزيد إن لك قرابة عسيت أن تؤثرهم بالإمارة وذلك أكبر ما أخاف عليك فإن رسول الله ﷺ قال من ولي من أمر المسلمين شيئا فأمر عليهم أحدا محاباة فعليه لعنة الله لا يقبل الله منه صرفا ولا عدلا حتى يدخله جهنم ومن أعطى أحدا حمى الله فقد انتهك في حمى الله شيئا بغير حقه فعليه لعنة الله أو قال تبرأت منه ذمة الله عز وجل
No references are available.
Its chain of transmission is daif due to the anonymity of the shaykh from Quraysh from whom Baqiya bin Walid narrated.