On 28 August 2017, Al Hasan became the 4th bowler in Test history to record a 5-wicket haul against all Test Playing nations (except Afghanistan and Ireland, who have only just granted Test status earlier that year) when he grabbed 5 wickets against Australia in his first encounter with the team. He also scored a half-century in the first innings. In the second innings, he only scored 8 runs with the bat, but he grabbed another 5 wickets to secure his first 10-wicket haul and the win. However, after the series, Al Hasan opted to take a break from Test to focus on limited-overs games.