Exodus 11:4-5

So Moses said, “Thus says the  Lord: a ‘About midnight I will go out in the midst of Egypt, and every firstborn in the land of Egypt shall die, from the firstborn of Pharaoh who sits on his throne, even to the firstborn of the slave girl who is b behind the handmill, and all the firstborn of the cattle.
Copyright information for ESV