It depends on the specific Mustang and Hummer models being compared. Generally, a Mustang, especially a GT or Shelby model, will be significantly faster than a Hummer H2 or H3. However, a high-performance Hummer EV could potentially outperform some lower-spec Mustangs.
So there's no single yes or no answer. You need to compare specific models to get a definitive answer.