that the Prophet ﷺ said, "I asked Allah a question that I would have liked that I had not asked Him. I mentioned the Prophets of my Lord and I said: O my Lord, You subdued the wind for Sulaymān (Solmon), and You spoke to Mūsá (Moses). Then Allah ﷻ said, 'Did I not find you an orphan and I gave you refuge? And lost and I guided you? And poor and made you self-sufficient?'" He said: "I said: Yes. I would have liked that I had not asked."
أَنَّ النَّبِيَّ ﷺ قَالَ سَأَلْتُ اللَّهَ مَسْأَلَةً وَدِدْتُ أَنِّي لَمْ أَكُنْ سَأَلْتُهُ ذَكَرْتُ رُسُلَ رَبِّي فَقُلْتُ يَا رَبِّ سَخَّرْتَ لِسُلَيْمَانَ الرِّيحَ وَكَلَّمْتَ مُوسَى فَقَالَ تَبَارَكَ وَتَعَالَى أَلَمْ أَجِدْكَ يَتِيمًا فَآوَيْتُكَ وَضَالًّا فَهَدَيْتُكَ وَعَائِلًا فَأَغْنَيْتُكَ؟ قَالَ فَقُلْتُ نَعَمْ فَوَدِدْتُ أَنْ لَمْ أَسْأَلْهُ