Exodus 8:1-25 NIV
Then the LORD said to Moses, “Go to Pharaoh and say to him, ‘This is what the LORD says: Let my people go, so that they may worship me. If you refuse to let them go, I will send a plague of frogs on your whole country. The Nile will teem with frogs. They will come up into your palace and your bedroom and onto your bed, into the houses of your officials and on your people, and into your ovens and kneading troughs. The frogs will come up on you and your people and all your officials.’ ”
Then the LORD said to Moses, “Tell Aaron, ‘Stretch out your hand with your staff over the streams and canals and ponds, and make frogs come up on the land of Egypt.’ ”
So Aaron stretched out his hand over the waters of Egypt, and the frogs came up and covered the land. But the magicians did the same things by their secret arts; they also made frogs come up on the land of Egypt.
Pharaoh summoned Moses and Aaron and said, “Pray to the LORD to take the frogs away from me and my people, and I will let your people go to offer sacrifices to the LORD.”
Moses said to Pharaoh, “I leave to you the honor of setting the time for me to pray for you and your officials and your people that you and your houses may be rid of the frogs, except for those that remain in the Nile.”
“Tomorrow,” Pharaoh said.
Moses replied, “It will be as you say, so that you may know there is no one like the LORD our God. The frogs will leave you and your houses, your officials and your people; they will remain only in the Nile.”
After Moses and Aaron left Pharaoh, Moses cried out to the LORD about the frogs he had brought on Pharaoh. And the LORD did what Moses asked. The frogs died in the houses, in the courtyards and in the fields. They were piled into heaps, and the land reeked of them. But when Pharaoh saw that there was relief, he hardened his heart and would not listen to Moses and Aaron, just as the LORD had said.
Then the LORD said to Moses, “Tell Aaron, ‘Stretch out your staff and strike the dust of the ground,’ and throughout the land of Egypt the dust will become gnats.” They did this, and when Aaron stretched out his hand with the staff and struck the dust of the ground, gnats came on people and animals. All the dust throughout the land of Egypt became gnats. But when the magicians tried to produce gnats by their secret arts, they could not.
Since the gnats were on people and animals everywhere, the magicians said to Pharaoh, “This is the finger of God.” But Pharaoh’s heart was hard and he would not listen, just as the LORD had said.
Then the LORD said to Moses, “Get up early in the morning and confront Pharaoh as he goes to the river and say to him, ‘This is what the LORD says: Let my people go, so that they may worship me. If you do not let my people go, I will send swarms of flies on you and your officials, on your people and into your houses. The houses of the Egyptians will be full of flies; even the ground will be covered with them.
“ ‘But on that day I will deal differently with the land of Goshen, where my people live; no swarms of flies will be there, so that you will know that I, the LORD, am in this land. I will make a distinction between my people and your people. This sign will occur tomorrow.’ ”
And the LORD did this. Dense swarms of flies poured into Pharaoh’s palace and into the houses of his officials; throughout Egypt the land was ruined by the flies.
Then Pharaoh summoned Moses and Aaron and said, “Go, sacrifice to your God here in the land.”
NIV: New International Version