R. Yossi says: Whence do you derive that with the plagues that these were plagued at the sea, the others were plagued in Egypt and that they saw each other (at the time)? From "And Egypt said: "I (at the sea) shall flee from before Israel; for the L–rd is warring for them in Egypt (too)!"
Rabbi Yosei Raises a Startling Possibility About the Ten Plagues
Mekhilta Tractate Vayehi Beshalach 6:19