Yes, the Battle of Stamford Bridge was fought right before the Battle of Hastings.
After defeating Harold Hadrada at the hard fought Battle of Stamford Bridge, Harold Goodwinson's forces had to make a forced march across the width of England to meet William the Conqueror at the Battle of Hastings, just days later. His troops arrived at the battle exhausted.