Jacob then asked his uncle Laban to let him go and visit his family. His uncle said to him: "I have been blessed because of you; ask for whatever money you need." Jacob said: "Give me each spotted and speckled goat born this year and each black lamb."
But at Laban's command his sons removed their father's goats that were striped, spotted or speckled, and the black lambs, lest others should be born with those traits. They walked for three days with their father's goats and sheep while Jacob tended the remaining flock.
The People of the Book said that Jacob took fresh rods of poplar, almond and plane. He peeled streaks in them and cast them into the water troughs for the goats to look at. The young inside their abdomens were terrified and moved and they were born striped, spotted, or speckled. When the sheep were breeding, he set their faces towards the black sheep in Laban's flock and put the rods among them. Their lambs were born black. This was considered an example of supernatural powers, a miracle. Jacob had many goats, sheep, beast and slaves. His uncle and his sons faces changed as if they (the sheep and goats) had been stolen from them.
Related Quran Ayaaths of this Hadith.
Surah 6 : Ayah 84 Surah 4 : Ayah 163 Surah 37 : Ayah 112 Surah 37 : Ayah 113 Surah 38 : Ayah 45 Surah 21 : Ayah 72 Surah 6 : Ayah 84 Surah 4 : Ayah 163"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari