Muhammad says Allah hates when you ask too many questions

In Sahih al-Bukhari, the most canonical hadith collection:

Volume 2, Book 24, Number 555:
Narrated Ash-sha'bi:
The clerk of Al-Mughira bin Shu'ba narrated, "Muawiya wrote to Al-Mughira bin Shu'ba: Write to me something which you have heard from the Prophet (p.b.u.h) ." So Al-Mughira wrote: I heard the Prophet saying, "Allah has hated for you three things:

1. Vain talks, (useless talk) that you talk too much or about others.

2. Wasting of wealth (by extravagance)

3. And asking too many questions (in disputed religious matters) or asking others for something (except in great need).
Note: the parenthetical insertion, "in disputed religious matters," is not mine. It's part of the hadith as available at the University of Southern California hadith database. To see for yourself, click the link near the top of this comment.