Ashraful was unbeaten on 189 and Rahim (152) as put together a splendid unbeaten 261 run stand to take Bdesh to 438 for 4 at stumps in their first innings in reply to Sri Lanka's 570/4 on the third day of the opening Test.
Afghanistan qualify for the semi-finals of a World Cup for the first time in their history after beating Bangladesh in a low-scoring classic in St Vincent.