I've heard that the Baal Haturim wrote the whole commentary on the Chumash on his wedding night!
Can someone please provide the source for this?
Hidabroot (here) writes
It is a well-known fact that Rabbi Yaakov [Ben Asher, the Baal Haturim] wrote his entire commentary on the Torah in one night, orally, although no reliable source has been found.
which is what you might have heard, although they don't connect it to his wedding night.
Thanks to @msh210, I found an official source in the introduction to Baal HaTurim's Torah commentary in the edition prepared by R Yaakov Koppel Reinitz, p. 9, where he writes that (as is mentioned in the sefer Kol Dodi), after his father commented that he was only busy with the Oral Torah, the Baal HaTurim took this to heart and wrote his commentary overnight !