The Prophet (peace and blessings be upon him) said:
"Indeed, this (dry trunk) wept because it no longer heard the remembrance of Allah near it." (The narrator says that this refers to the palm-tree trunk.)
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 2256