Jordan overcame Palestine to secure a quarter-final spot ©Getty Images

Jordan earned the final place in the last eight of the FIFA Arab Cup after easing past Palestine in their last Group C match in Doha.

The Jordanian team had their fate in their own hands despite suffering a 4-0 defeat to group winners Morocco in their previous fixture, with an earlier triumph against Saudi Arabia placing them second in the standings.

A ninth-minute penalty from Baha' Abdel-Rahman steadied an Jordanian nerves at Stadium 974.

Hamza Al-Dardour doubled Jordan's advantage in the 24th minute, converting a low cross from close range.

A close-range header from Tamer Seyam saw Palestine pull a goal back on the stroke of half-time.

The match remained in the balance until the 82nd minute, when a heavily deflected shot from Mahmoud Al-Mardi found the Palestine net via the post.

Jordan added further gloss to the scoreline in the final minutes with a long-range effort from Yazan Al-Naimat finding the corner, before the forward rounded goalkeeper Amr Kaddura to complete a brace in injury time.

The 5-1 victory saw Jordan seal second place in Group A behind Morocco, who recorded their third consecutive victory.

Karim El Berkaoui’s penalty in first-half stoppage time proved the only goal as Morocco overcame Saudi Arabia at the Al Thumama Stadium.

Morocco will face Group D runners-up Algeria in the quarter-finals, while Jordan will play Egypt.

Algeria and Egypt had already secured places in the last eight after winning their opening two matches.

The teams met at the Al Janoub Stadium to determine the group winners.

Mohamed Amine Tougai gave Algeria a 20th-minute lead in the tie, only for Amr El Solia to equalise for Egypt in the second half.

The match ended in a 1-1 draw, leaving both teams tied at the top of the standings on points, goal difference and goals scored.

Egypt were ultimately confirmed as group winners due to their superior fair play record at the tournament.

Lebanon ended their tournament on a high by beating Sudan at the Education City Stadium.

Both sides were reduced to 10 men in the match, which was decided by a 76th-minute own goal from Sudan's goalkeeper Ali Abu Eshrein.

Eshrein attempted to clear a Lebanon free kick but was only able to punch the ball backwards into his own net.