Sahih Bukhari Volume 001, Book 004, Hadith Number 177.

Narated By 'Abbas bin Tamim : My uncle said: The Prophet said, "One should not leave his prayer unless he hears sound or smells something."