"This they shall give" (Exodus 21:13). Rabbi Meir said: The Holy One, blessed be He, took something like a coin of fire from beneath the Throne of Glory and showed it to Moses, and He said to Moses, "This they shall give." Moses said, "Who can give such a thing?" The Holy One, blessed be He, said to him, "Everyone who passed through the sea." A half-shekel.
A Coin of Fire from Beneath the Throne of Glory
Midrash Tanchuma Buber, Ki Tisa 7:1
[זה יתנו] (שמות כא יג). אמר ר' מאיר נטל הקב"ה כמין מטבע של אש תחת כסא הכבוד, והראהו אל משה, וא"ל למשה זה יתנו, אמר משה מי יתן, א"ל הקב"ה כל העובר בים. מחצית השקל.