Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says that Sayyidah Maymunah (may Allah be pleased with her) narrated to me that one day the Messenger of Allah (peace and blessings be upon him) was in a state of grief in the morning. Sayyidah Maymunah (may Allah be pleased with her) said: "O Messenger of Allah! I have found you in an unfamiliar state today?" The Messenger of Allah (peace and blessings be upon him) said: "Jibril had promised me that he would meet me tonight; by Allah! he does not break his promise." Because of this the Messenger of Allah (peace and blessings be upon him) remained grieved. Then the thought came into the heart of him (peace and blessings be upon him) of a puppy that was under our tent. He (peace and blessings be upon him) gave the order and it was taken out; then he took water in his hand and sprinkled it over that place. In the evening Jibril (peace be upon him) met him (peace and blessings be upon him), and he (peace and blessings be upon him) said: "You had promised me that you would meet me last night!" He said: "Yes! But we do not enter a house in which there is a dog or an image." That day, in the morning, the Messenger of Allah (peace and blessings be upon him) ordered the killing of dogs, to the extent that he (peace and blessings be upon him) ordered even the dog of the small garden to be killed, and left the dog of the large garden.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1150
Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates from Sayyidah Maymunah (may Allah be pleased with her), the wife of the Messenger of Allah (peace and blessings be upon him), that the Messenger of Allah (peace and blessings be upon him) was grieved one day, and he mentioned the hadith; in it is that he then took water and sprinkled it over that place.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1151
Sayyidah Maymunah (may Allah be pleased with her) informed Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he (peace and blessings be upon him) said: "Jibril had promised to meet me." She says: There was a puppy in the house. The Messenger of Allah (peace and blessings be upon him) took it out, then sprinkled water over that place.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1152
Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) says: In the time of the Prophet (peace and blessings be upon him) I used to spend the night in the mosque, and I was an unmarried young man. In that time dogs would urinate and come and go in the mosque, but the people would not sprinkle (water) over that place.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1153