Yes, it’s true. He has.
Holy Prophet (asws) is saying: “The Sultan, 
he is the Shadow of Allah upon the earth; the weak seek refuge with him and by him the oppressed are given victory. Whoever honors the sultan of Allah in the world Allah honors him on the Day of Judgment.” And Faruk el-Azam (ra) is saying: “Fear and obey Allah your Lord until the Day of Resurrection, as if you see Him, and obey the Ruler even if he is a cut-nosed Abyssinian slave: if he beats you, be patient; if he robs you, be patient and if he belittles you, be patient. Never leave the Main Jamaat of the Muslims.” 

The seven shadow of Allah are: Just a ruler, a youth who grew up in the worship of Allah, a man whose heart is attached to the Mosques, two men who love each other for the sake of Allah, meeting for that and parting upon that, a man who is called by a woman of beauty and position by he says: ‘I fear Allah’, a man who gives in charity and hides in, such that his left hand does not know what his right hand gives in charity and a man who remembered Allah in private and so his eyes shed tears.