Hadith 5338
وَعَن المهاجرِ بنِ حبيبٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: قَالَ اللَّهُ تَعَالَى: إِنِّي لَسْتُ كُلَّ كلامِ الْحَكِيم أتقبَّلُ وَلَكِنِّي أَتَقَبَّلُ هَمَّهُ وَهَوَاهُ فَإِنْ كَانَ هَمُّهُ وَهَوَاهُ فِي طَاعَتِي جَعَلْتُ صَمْتَهُ حَمْدًا لِي وَوَقَارًا وإِنْ لمْ يتكلَّمْ رَوَاهُ الدَّارمِيّ
Muhajir bin Habib (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Allah, the Exalted, says: I do not accept all the speech of the wise, but I accept his intention and his purpose. If his intention and purpose are in obedience to Me, then I consider his silence as praise and dignity for Myself, even if he has not spoken." Its chain is weak, narrated by al-Darimi.