Originally Posted by Gintoki
We are encouraged to ask questions pertinent to the practice of our deen, and to clarify our understanding on Islamic matters. We are not, however, to ask things which are unnecessary, and to constantly question things that have no relevance to the practice of our deen, and indeed, some ahadeeth warn against this:
Abu 'Isa Al-Mughirah bin Shu'bah (May Allah be pleased with him) reported:
The Prophet :saws: said, "Allah has forbidden you: disobedience to your mothers, to withhold (what you should give), or demand (what you do not deserve), and to bury your daughters alive. And Allah dislikes
idle talk, to ask too many questions (for things which will be of no benefit to one)
, and to waste your wealth".
Arabic/English book reference : Book 1, Hadith 340 [Al-Bukhari and Muslim].
(the clerk of Al-Mughira bin Shu`ba) Muawiya wrote to Al-Mughira: "Write to me a narration you have heard from Allah's Messenger :saws:." So Al-Mughira wrote to him, "I heard him saying the following after each prayer: 'La ilaha illal-lahu wahdahu la sharika lahu, lahu-l-mulk wa lahuI-hamd, wa huwa 'ala kulli Shai-in qadir.' He also used to forbid idle talk, asking too many questions (in religion)
, wasting money, preventing what should be given, and asking others for something (except in great need), being undutiful to mothers, and burying one's little daughters (alive).
Reference : Sahih al-Bukhari 6473
In-book reference : Book 81, Hadith 62
USC-MSA web (English) reference : Vol. 8, Book 76, Hadith 480
The following ahadeeth also warn us how people will continue to ask useless questions until they question who created Allah, and they tell us what we should do if we find ourselves faced with such a situation:
It is narrated on the authority of Abu Huraira that the Messenger of Allah :saws: observed:
The Satan comes to every one of you and says: Who created this and that? till he questions: Who created your Lord? When he comes to that, one should seek refuge in Allah and keep away (from such idle thoughts).
Reference : Sahih Muslim 134 c
In-book reference : Book 1, Hadith 252
USC-MSA web (English) reference : Book 1, Hadith 244
Narrated Abu Huraira: Allah's Apostle :saws: said, "Satan comes to one of you and says, 'Who created so-and-so? 'till he says, 'Who has created your Lord?' So, when he inspires such a question, one should seek refuge with Allah and give up such thoughts."
Reference : Sahih al-Bukhari 3276
In-book reference : Book 59, Hadith 85
USC-MSA web (English) reference : Vol. 4, Book 54, Hadith 496
Anas b. Malik transmitted it from the Messenger of Allah :saws: that the Great and Glorious Allah said:
Verily your people would constantly question about this and that till they would say: Well, it is Allah Who created the creation, but who created Allah?
Reference : Sahih Muslim 136 a
In-book reference : Book 1, Hadith 258
USC-MSA web (English) reference : Book 1, Hadith 250
It is narrated on the authority of Abu Huraira that the Messenger of Allah :saws: said: Men will continue to question one another till this is propounded: Allah created all things but who created Allah? He who found himself confronted with such a situation should say: I affirm my faith in Allah.
Reference : Sahih Muslim 134 a
In-book reference : Book 1, Hadith 250
USC-MSA web (English) reference : Book 1, Hadith 242
Although the above does not relate directly to your question, the same applies to what you're asking.
It is also worth bearing in mind the following ayaat:
Allah is "Doer of what He wills." (Translation of Qur'an 85:16)
He is not questioned about what He does, but they will be questioned. (21:23)
And Allah knows best.