Sahih Muslim Book 39, Hadith Number 6745.
Chapter : The similitude of a believer and a non-believer.
Ka’b b. Malik reported on the authority of his father that the similitude of a believer is that of a standing crop. The wind sometimes shakes it and sometimes raises it up and then it comes to its destined end. And the similitude of a hypocrite is that of a cypress tree which is not affected by anything but is uprooted once for all. This hadith has been narrated through another chain, of transmitters also.