The prophet Elijah and R. Joshua b.Levi were travelling together. Elijah did queer things, viz, built up the wall of a rich miser who had treated him badly; killed cow and only son of woman who had received him hospitably. He blessed a congregation who had treated him with want of courtesy, and prayed that all the members might be leaders. He explained to Joshua ben Levi the reason of his action. Under the wall of the rich man there was treasure which would have been found by that miser had he rebuilt the wall himself. The widow's only son would have grown up a murderer. If all the congregation became leaders they would live in strife.
The Strange Kindnesses of Elijah on the Road with Rabbi Joshua
Gaster, Exempla no. 301 (Codex Gaster 185)