Senegal took the lead after a first-half penalty from Ismaila Sarr. Moises Caicedo then scored for Ecuador to make it 1-1 within the 67th.
At 1-1, Ecuador would have superior from Group A and Senegal would have been eradicated.
Nevertheless, a couple of minutes later Senegal took the lead as soon as once more as their defender and Koulibaly scored from shut vary after a free kick whipped from the precise flank.
The Netherlands beat Qatar 2-0 within the different match to win the group. Senegal completed second, whereas Ecuador and Qatar had been eradicated.
Senegal final superior from the group stage on the 2002 World Cup, when the workforce reached the quarter-finals in its match debut.