Sahih Bukhari Volume 003, Book 031, Hadith Number 152.

Narated By 'Aisha : (At times) in Ramadan the Prophet used to take a bath in the morning not because of a wet dream and would continue his fast.