Sahih al-Bukhari, Book 59, Hadith 126 (Bukhari 3182)

Narrated Abu Huraira:

The Prophet (ﷺ) said "If a house fly falls in the drink of anyone of you, he should dip it (in the drink) and take it out, for one of its wings has a disease and the other has the cure for the disease."