[2][3] Hasnain was born in a family of six tracing its roots back to the city of Alwar in the Indian state of Rajasthan, and his father, Mohammad Hussain, who owns a cattle feed shop in Hirabad, Hyderabad, was himself a cricketer (a wicket keeper and then fast bowler) who had to abandon the sport to support his large family.
[13] In January 2022, he made his debut for the Sydney Thunder in Australia's Big Bash League (BBL), taking 3 wickets for 0 runs in his first over.
He was then recalled to Pakistan where he underwent testing in Lahore and was found to have an illegal action, he was banned from bowling until it was rectified.
[24] On 5 October 2019, in the series against Sri Lanka, at the age of 19 years and 183 days, Hasnain became the youngest bowler, the second for Pakistan, and ninth overall, to take a hat-trick in a T20I match.
[27] In May 2020, the Pakistan Cricket Board (PCB) awarded him with a central contract, in a newly created Emerging Players' category, ahead of the 2020–21 season.
[32] On 3 November 2020, in the third match against Zimbabwe, he took his first five-wicket haul in ODI cricket, returning figures of 5/26 in 10 overs.