The Prophet ﷺ said: “Whoever does not ask of Allāh, incurs His wrath.”
Rated Ḥasan by Al-Albānī, Silsilah Al-Aḥādīth Aṣ-Ṣaḥīḥah, no. 2654.
Shaikh Al-Albānī said:
Indeed, from those things about which there is no doubt is: considering oneself too great to worship Him the All-High and to ask of Him necessitates the wrath of Allāh […].
Some ignorant Sūfīs have really failed to keep in mind–or pretended to have no knowledge of–[this ḥadīth and other supporting narrations] in their claiming that asking Allāh [constitutes] bad manners with [Him], having been influenced in that by the narration from the Children of Isrā’īl: “His knowledge of my condition suffices [my] having to ask of Him”!
So they did not know that a slave’s asking of his Lord the All-High does not come under the issue of informing Him of his need–far removed is He from any imperfection and All-High:
He has full knowledge of all the secrets [people hide in their chests] and that which is hidden [from them themselves of thoughts and actions that are yet to occur]. [From Ṭā-Ḥā 7, English meaning].
In fact, it [a slave’s asking of his Lord] only falls under the issue of openly displaying his ‘ubudiyyah [willful subjection of himself to Allāh as a worshipping slave], his need of Him, and his [great] want.
Silsilah Al-Aḥādīth Aṣ-Ṣaḥīḥah, vol. 6, p. 326.