Milan coach Carlo Ancelotti said: "When it was still 0-0 he was fantastic. He has gone through a difficult time, but that save restored his pride.
"This victory proves that matches are decided by incidents. At home we struggle to break the deadlock and then things get complicated.
"That is the key, as once you score a goal the space opens up for you. In the first half we played well, putting Sampdoria under pressure."