It is narrated that a Jew embraced Islam. After a few days he faced difficult times, and he starved and suffered from hunger, he went to the house of a Jew to ask for help. The Jew gave this new Muslim four pieces of flatbread.
A dog followed him as he returned with the flatbreads. Thinking that perhaps there is a share of the dog in these flatbreads, he threw one flatbread to the dog and continued onward. The dog quickly ate the flatbread and continued following him. He assumed perhaps there might be half of the flatbreads as a share for the dog. He threw another flatbread before the dog which the dog ate and continued to follow him. As he realized that the dog is not leaving him alone, he then assumed perhaps three-quarters of the share was for the dog and the rest for him. Therefore, he threw another flatbread to the dog, but the dog did not go away even after eating that flatbread.
He became very angry at the dog and said, ‘You are wicked; I begged and got four flatbreads. You have eaten three of them and are still are not leaving me alone.’
At that moment, the Almighty God granted the dog the ability to speak, and the dog said, ‘I am not wicked. I do not go anywhere other than my master’s house for food; no matter how much I may starve. You are wicked as you went to beg from an infidel after you had starved for just two or three days.’
On hearing this response from the dog, the Muslim became very remorseful on his condition.
(Malfuzat, Vol. 9, p. 450)