Where was the preamble to the Constitution written?

The same place the rest of it was written, in Philadelphia. Michael Montagne
Thomas Jefferson wrote the preamble