Resh Lakish said: This teaches that before the plague there was another blow. How so? Every time the Holy One, blessed be He, sought to bring a plague upon the Egyptians, He would send Moses and say to him: Go, say to them that I am bringing such-and-such a plague upon them. And at the time when the plague of the firstborn came, Moses said to them (Exodus 11:4): "About midnight."
Resh Lakish on the Warning Blow Before Each Plague of Egypt
Midrash Tanchuma Buber, Bo 17:4
אמר ריש לקיש מלמד שהיה לפני המכה מכה אחרת, כיצד כל שעה שהיה הקב"ה מבקש להביא מכה על המצרים משלח משה ואומר לו לך אמור להן שאני מביא עליהן מכה פלונית, ובשעה שבאת מכת בכורות, אמר להן משה כחצות הלילה.