Hakimi took up the responsibility of putting Morocco back into the game from the penalty spot with less than five minutes to the end of the game but he hit the ball at the crossbar. South Africa later went on to extend their lead during the stoppage time of the match to see the Bafana Bafana book their spot in the quarter-finals.
The 25-year-old apologised to his teammates and Moroccans around the world.