Khazri, a £9million Sam Allardyce signing from Bordeaux in January last year, came in from the cold and caused Moyes embarrassment.
Black Cats fans taunted the manager when the Tunisia winger – making his first club start since October 29 – ended his team’s goal famine direct from a corner.
It was rock-bottom Sunderland’s first goal in 11 hours and 41 minutes and it was met by ironic cries of “Are you watching, David Moyes?’’
Fabio Borini celebrates his late equaliser The Premier League 2016/17 sack race Tue, April 11, 2017
Express Sport brings you the latest odds on which Premier League manager will be the next to be dismissed. Odds provided by Sky Bet
Play slideshow Chelsea FC via Getty Images 1 of 19
Antonio Conte – 150/1
Before then, the chant was “We want Moyes out’’ as Sunderland trailed to Andre Ayew’s early strike.
James Collins restored the Hammers’ lead two minutes after the break.
But sub Borini, who replaced Billy Jones after the right-back was carried off in a neckbrace, equalised in the 90th minute – and appeared to have a dig at Moyes as he slid on his knees in front of him to celebrate.
West Ham looked like they were going to hold on for the win
In 10 minutes of added time, West Ham right-back Sam Byram was sent off for a second booking, but Sunderland couldn’t capitalise.
Moyes said of the fans’ reaction: “It’s to be expected because me, and the team, are not doing well, so I have to accept that. I just remember that I have the third or fourth best win record in the Premier League.’’
Get Quotes on Home Insurance
West Ham boss Slaven Bilic said: “Of course, you’re disappointed not to win when you’ve led twice. I have to say it’s a fair result.’’