Alaba came off the bench to send home the game-winner.
Sergio Busquets was sent off as Barca were forced to settle for a goalless draw.
The 34-year-old France international scored 44 goals for Real Madrid last season.
Leroy Sane and Marko Arnautovic are among the names being linked with Manchester United.