In the middle part of a day when the rest of the people were taking rest Allah sent some of His angels to Luqman. The angels called Luqman but in such a way that he could only hear their voice without seeing them.
The angels asked him, “O Luqman! Do you wish that Allah may make you His caliph so that you may solve people affairs (disputes etc)?” Luqman replied, “If the Lord of the worlds commands me to do so I will obey Him because, if I accept it by His order, He will help me, will also teach me the necessary things for that office and he will then also protect me from making mistakes. But if He has given me an option about accepting that post I would prefer safety (I want to be excused).” The angels asked, “Why so?” Luqman replied, “Though settling people’s disputes carries much value in the sight of Allah and it has much weight in the religion of Allah, its tests and criterions are also very hard. If Allah does not help someone and leaves him on his own then oppression and darkness encircles him from all sides. Such a man is discarded. He will either make correct judgment and be saved or will make mistake and will become deviated. The one who becomes dishonorable in the world will be better off in the Hereafter because the one who orders becomes big in the eyes of the people and the one who purchases this world at the cost of the Hereafter suffers loss in both the places because this world slips away from him very soon and he had no share in the Hereafter.”
Hearing this, the angels were astonished at his wisdom and intelligence and the Lord liked their dialogue. When night fell and Luqman went to bed Allah rained the radiance of wisdom on him and made him full of light. He was asleep and Allah covered him with the cloth of wisdom. When he arose he was the wisest man of his time. He came out before the people when words of wisdom were coming out of his mouth and he was describing the Divine wisdom and intelligence and justice to all.