Mughira bin Shuba reported,

The Messenger of Allah ﷺ said, "Allah عز وجل has forbidden you to disobey your mothers, to bury your daughters alive, and to withhold what you owe while demanding what is not yours. He has also disliked three things for you, idle gossip, asking too many questions, and squandering wealth."

Azami 1288

Sahih

عن المغيرة بن شعبة

عن رسول الله ﷺ قال: إن الله عز وجل حرم عليكم عقوق الأمهات، ووأد البنات، ومنعا وهات، وكره لكم ثلاثا: قيل وقال، وكثرة السؤال، وإضاعة المال.

الأعظمي 1288صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Warnings in matters of knowledge
Section
Prohibition of excessive questioning about what has not occurred and about which no revelation has been sent down
Numbering
Jami al-Kamil 1288 (2nd edition)
Azami 1288