BAYHAQI 20364:
from Ibn ʿAbbās —
[Machine] "The Messenger of Allah ﷺ has betrayed Allah, His Prophet, and all Muslims whoever employs a worker from among the Muslims while he knows that there are others who are more deserving of that and is also more knowledgeable of the Book of Allah and the Sunnah of His Prophet."
البيهقي ٢٠٣٦٤:
عن ابن عباس —
رَسُولِ اللهِ ﷺ مَنِ اسْتَعْمَلَ عَامِلًا مِنَ الْمُسْلِمِينَ وَهُوَ يَعْلَمُ أَنَّ فِيهِمْ أَوْلَى بِذَلِكَ مِنْهُ وَأَعْلَمُ بِكِتَابِ اللهِ وَسُنَّةِ نَبِيِّهِ فَقَدْ خَانَ اللهَ وَرَسُولَهُ وَجَمِيعَ الْمُسْلِمِينَ
hadithunlocked.com