Mustafizur Rahman took four wickets before Hasan Mahmud held his nerve as Bangladesh beat Ireland by five runs in the third one-day international at Chelmsford on Sunday.

Victory gave Bangladesh a 2-0 win, with one washout, in the three-match series.

Mustafizur, a 27-year-old left-arm quick, finished with fine figures of 4-44 from 10 overs, including several top-order batsman, as Ireland were held to 269-9 in reply to Bangladesh's 274 all out.

Ireland needed 10 off the final over only for Hasan to take two wickets.

Then, with six required off the last ball, Hasan's fine yorker hit tailender Craig Young on the boot to the delight of the Tigers' vocal fans at the headquarters of English county Essex.

Ireland were well-placed when needing 51 off nine overs with seven wickets in hand.

But Najmul Hossain, who hit a maiden ODI century in Bangladesh's three-wicket win on Friday, took his first wicket at this level to remove Harry Tector.

The in-form Tector, fresh from a career-best 140 on Friday, had made a brisk 45 when he pulled part-time bowler Najmul only for Liton Das to take a stunning diving catch low down as he ran in from wide of long-on.

Bangladesh captain Tamim Iqbal top-scored for the Tigers with 69, while veteran wicketkeeper Mushfiqur Rahim, who got Bangladesh over the line on Friday, made 45.

Mark Adair led Ireland's attack with 4-40.

Tuesday's washout, something Ireland hoped to avoid by moving the series to England, denied the Irish the 3-0 clean sweep they needed to secure automatic entry into this year's World Cup in India.

Ireland, having missed out on a top-eight finish in the Super League, will now compete in the June 18-July 9 qualifying tournament in Zimbabwe.