It was narrated that Abu Dharr said:
"I heard the Messenger of Allah say: 'Everyone in the universe, in the heavens and on earth, prays for forgiveness for the scholar, even the fish in the sea."
English reference: Vol. 1, Book 1, Hadith 239
Arabic reference: Book 1, Hadith 245