Hasan finished with 5-60 to record his best match figures of 11-114 and help dismiss South Africa — who were set a daunting 370 to chase — for 274 before the tea break.
Pakistan fast bowler Hasan Ali (2-29) grabbed his wickets off successive deliveries and Ashraf had Faf du Plessis (17) caught behind to leave South Africa struggling in its first innings on day 2.
Pakistan vs South Africa: Pacers in focus as hosts eye first Test series win over Proteas in 17 years
Pakistan, whose lone series win over South Africa was at home in 2003, start as favourites in Rawalpindi after last week's thumping seven-wicket win in Karachi
Highlights, Pakistan vs Zimbabwe 2020, 3rd ODI Cricket Match at Rawalpindi, Full Cricket Score: Visitors win Super Over after match ends in tie
Check out the live scorecard of the third ODI between Pakistan and Zimbabwe being played at Rawalpindi
The three T20Is, which were earlier scheduled at the Gaddafi Stadium in Lahore, will now be held at the Rawalpindi Cricket Stadium on 7, 8 and 10 November.
Pakistan: Nearly 20 killed, several injured during train-bus collision at railway crossing in Sindh province's Sukkur division
Sukkur District Health Officer Dr Munir Mangrio confirmed that 13 bodies were sent to the Rohri hospital, while the remaining bodies were sent to the Sukkur hospital. The deceased included five women and nine men.
Pakistan Army will teach New Delhi a 'hard lesson' in case of any misadventure says Imran Khan in fresh anti-India rhetoric
Pakistan prime minister Imran Khan said on Thursday that his country's battle-hardened army will teach India a "hard lesson" in case of "any misadventure"
Pakistan vs Bangladesh: Babar Azam, Mohammad Hafeez hit unbeaten fifties to help hosts beat Tigers in second T20I, seal series
Pakistan could stay top if it completes a 3-0 clean sweep by winning the final Twenty20 of the three-match series on Monday.
Babar Azam says there's no comparison between him and Virat Kohli, but wants to get where Indian captain is today
Pakistan's Babar Azam is a self-confessed fan of Kohli spoke about his aspiration to emulate the world's No.1 Test and ODI batsman
Highlights, Pakistan vs Sri Lanka, 1st Test Day 5 at Rawalpindi, Full cricket score: Abid Ali, Babar Azam tons impress hosts in drawn contest
Catch all the live updates from the Day 5 of the first Test between Pakistan and Sri Lanka at Rawalpindi Cricket Stadium
Pakistan vs Sri Lanka, Highlights, 1st Test Day 4 at Rawalpindi: Play called off without a ball being bowled
Catch all the live updates from the Day 4 of the first Test between Pakistan and Sri Lanka at Rawalpindi Cricket Stadium
Mushtaq's first job will be to work with experienced leg-spinner Yasir Shah at the National Cricket Academy in Lahore and get him ready for the second Test against Sri Lanka in Karachi.
Pakistan vs Sri Lanka: Pacer Hasan Ali ruled out of Test series due to rib fracture, will need six weeks to heal
Pakistan is due to host Sri Lanka for a two-test series from 11 December. Rawalpindi stages the first test from Dec. 11 followed by the second test at Karachi from Dec. 19.
Sri Lanka agrees to play two Tests in Rawalpindi and Karachi as five-day cricket returns to Pakistan after a decade
The upcoming series' first Test will be played in Rawalpindi from 11-15 December, while the second Test will be held in Karachi from 19-23 December.
Pakistan train fire: Officials to use DNA tests to identify victims; funeral processions begin in Mirpurkhas
Distraught relatives gathered for the first funerals of some of the 73 people killed when a fire ripped through a crowded train in Pakistan, with many of the victims being residents of a single town.
Pakistan fire: 73 killed, several others injured in Liaqatpur after blaze breaks out in three coaches of Karachi-Rawalpindi Tezgam Express
A massive fire broke out on a moving train in Pakistan's eastern Punjab province on Thursday after two gas cylinders exploded while some passengers were cooking breakfast, killing at least 73 people
Pakistan railway minister gets electric shock while speaking against Narendra Modi at rally; video of incident goes viral
Pakistan railway minister Sheikh Rashid Ahmed suffered an electric shock on Friday while speaking against Narendra Modi at a rally during the 'Kashmir Hour'.
Pakistan, China sign agreement to enhance bilateral defence cooperation, exchange views on situation in Jammu and Kashmir
Pakistan and China on Monday signed an agreement to boost the bilateral defence cooperation and capacity building of the Pakistan Army
Pakistani Army aircraft crashes in Rawalpindi killing 19 including two pilots, 20 injured; officials say toll likely to rise
A small Pakistani military plane crashed into a residential area near Rabi Plaza, Rawalpindi before dawn on Tuesday, killing at least 19 people, including two pilots and three crew members, officials said.
Price rise continues in Pakistan as Imran Khan struggles to correct economy; no relief even after IMF approves latest loan, say analysts
Imran Khan chases an elusive target, how to right the South Asian nation's teetering economy. The rupee has lost nearly 30 percent of its value and inflation is running at nearly nine percent. Analysts warn that the country will find no short-term relief even after the International Monetary Fund approved its latest $6 billion loan.