Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah is pleased with three things from you and dislikes three things from you. He is pleased that you worship Him and associate nothing with Him, and that you all hold fast to the rope of Allah and do not become divided. He dislikes for you idle gossip, excessive questioning, and the squandering of wealth."Another version says, "He is angered by three things from you," and does not mention "and do not become divided."

Muslim 4482

Sahih

و حدثنا شيبان بن فروخ أخبرنا أبو عوانة عن سهيل بهذا الإسناد مثله غير أنه قال ويسخط لكم ثلاثا ولم يذكر ولا تفرقوا

مسلم 4482صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Judgments
Chapter
Prohibition of excessive questioning without need and prohibition of withholding and demanding, which is refusing to fulfill an obligatory right or seeking what one is not entitled to
Numbering
Darussalam 4482
Muslim 4482