United come from behind to knock Liverpool out of the FA Cup.
Salah opened the scoring with a brilliant chip over Henderson before Greenwood equalised for United.
Rashford then put United up just three minutes into the second half after Williams missed his clearance.
Salah levelled with his second of the game from close range before Fernandes came off the bench to seal the win with a great free-kick on the edge of the area.