I heard the Messenger of Allah ﷺ say, "Whoever seeks the position of judge and asks for help in obtaining it will be left to himself, and whoever does not seek it nor ask for help in obtaining it, Allah will send down an angel to guide him to what is right."Waki narrated from Israil, from Abdul-Ala, from Bilal bin Abu Musa, from Anas, from the Prophet ﷺ.Abu Awana narrated from Abdul-Ala, from Bilal bin Mirdas al-Fazari, from Khaythama al-Basri, from Anas.
حدثنا محمد بن كثير أخبرنا إسرائيل حدثنا عبد الأعلى عن بلال
سمعت رسول الله ﷺ يقول من طلب القضاء واستعان عليه وكل إليه ومن لم يطلبه ولم يستعن عليه أنزل الله ملكا يسدده وقال وكيع عن إسرائيل عن عبد الأعلى عن بلال بن أبي موسى عن أنس عن النبي ﷺ وقال أبو عوانة عن عبد الأعلى عن بلال بن مرداس الفزاري عن خيثمة البصري عن أنس
[Its isnad is daif]. Tirmidhi narrated it in "Rulings," chapter "What Has Been Narrated from the Messenger of Allah about That Being Good for a Judge," no. 1323, and Ibn Majah narrated it, no. 2309, from the hadith of Israil, with the same wording.Abdul-Ala bin Amir Thalabi was declared daif by the majority of scholars. Haythami said in Majma al-Zawaid 1/147, "Most hold him to be daif," and Tirmidhi said the same of him.