Ali's five-wicket haul followed Khan's destructive spell through the visitors' top order, with the off-spinner taking four wickets in his first three overs to leave West Indies struggling at 22-4.
Captain Shan Masood smashed 153 and forged a 253-run partnership with fellow centurion Abdullah Shafique as Pakistan dominated Day 1 of the first Test against England on Monday.
The tourists went to the close on 213 for one in their second innings, but still trail South Africa by 208 runs after they were forced to follow-on having been bowled out for 194 earlier in the day.
Pakistan beat England by nine wickets in the deciding third Test to win the series 2-1 in Rawalpindi on Saturday.
South Africa made light work of a modest target of 58 to claim victory against Pakistan by 10 wickets at a sun-bathed Newlands on Monday
Babar capitalised on an early reprieve to score a career-best 143 not out when bad light forced early stumps with Pakistan 109 ahead with seven wickets remaining.
Abid hit 174 for his second hundred in as many Tests -- becoming the first Pakistani and ninth batsmen overall to score two centuries in his first two Tests.
Pakistan's players were fined 25 percent of their match fee and docked World Test Championship points for failing to maintaining a slow over-rate during the second Test against South Africa.
Shaheen Afridi has been left out of Pakistan's squad for a two-Test series in South Africa in a bid to keep him fresh for the Champions Trophy at home next year
Saud Shakeel and Mohammad Rizwan hit unbeaten half-centuries to help Pakistan overcome Jayden Seales' three-wicket burst
'We've faced some tough times, but we've learned from our mistakes and are ready to give it our all against England.'
Pakistan captain Shan Masood expressed his disappointment and frustration following the defeat, emphasising the need for his bowlers to improve their ability to take 20 wickets in a match.
Images from Day 2 of the first Test match between England and Pakistan in Manchester, on Thursday.
Former Pakistan Cricket Board chairman Zaka Ashraf denied any groupings in the dressing room.
Pakistan selectors want Babar Azam to open in CT, hope star batter will emulate Sachin Tendulkar
'Studying was never an important part of our life, surviving was.'
'The team expected me to bowl fast and used me as an attacking option. I tried to repay the faith by sticking to my strengths and staying humble.'
Pakistan needed 178 runs to win the second Test and sweep the series
On Monday, the Indian women's team comprising Manika, Sreeja and Archana had prevailed over higher-ranked Romania 3-2 in a thrilling tie to enter the quarter-finals.
Pakistan captain Shan Masood on Sunday defended the decision to select four pace bowlers and no specialist spinner for the first Test, which the hosts lost to Bangladesh by 10 wickets.
The Pakistan Cricket Board (PCB) on Sunday demoted premier pacer Shaheen Shah Afridi to Category B from Category A, and did not offer central contracts to senior players Fakhar Zaman, Iftikhar Ahmed and Osama Mir for the 2024-25 season.
Harry Brook became only the sixth England batter to hit a triple century in Tests as the visitors piled on the runs on Day 4 of the first Test against Pakistan in Multan on Thursday.
England's stand-in captain Ollie Pope has no doubt that Chris Woakes will expertly spearhead their pace attack in the three-test series in Pakistan beginning in Multan on Monday.
South Africa are within touching distance of a place in next June's World Test Championship final at Lord's but must win at least one of their two Tests against Pakistan
Rohit Sharma wilted under the traditional Australian tactic of mentally breaking down the opposition captains
South Africa have now won six successive Tests, starting with success in the West Indies in August and following it with two-Test series wins in Bangladesh and then home to Sri Lanka last month.
Spinners took 16 wickets on Sunday as Jomel Warrican's seven-wicket haul restricted Pakistan's second innings to 157, setting a target of 251 for West Indies, who failed to get a partnership going on the turn-heavy track.
China on Thursday conveyed its 'heartfelt appreciation' to the Indian Navy for rescuing a critically injured Chinese mariner from a cargo ship off the Mumbai coast and providing him with timely medical treatment.
They are afraid of grass pitches: Basit Ali's surprising take on Pakistan batters ahead of England Test series
Pakistan have made four changes to the side for the second Test against England after resting senior cricketers including former captain Babar Azam from the rest of the series.
Bosch's knock, which included 15 boundaries, helped South Africa to 301 all out at tea and a handy lead over the tourists, who scored 211 in their first innings.
Shaheen Afridi also missed the last two Tests against England in October.
IMAGES from Day 1 of the 2nd Test played between Pakistan and England in Multan on Tuesday.
Pakistan have dropped plans to conduct "major surgery" on the national team as it included senior players Babar Azam, Mohammad Rizwan and Shaheen Shah Afridi in the Test squad for the two-match series against Bangladesh.
Babar Azam was dropped on Sunday, while the pace duo Shaheen Afridi and Naseem Shah opted to withdraw from the remaining two Tests against England.
Ryan Rickelton posted the joint seventh-highest score by a South African in Tests with 259 as his side ran up a huge 615 before reducing Pakistan to 64/4 at the close on Day 2.
Shan Masood to continue as Pakistan Test captain, decision on Babar Azam put on hold
Mehidy Hasan Miraz claimed five wickets as Bangladesh bowled out Pakistan for 274 on the second day of their rain-hit second Test at Rawalpindi
A PCB source however told PTI that recent media speculations about Shan Masood and Babar Azam's sacking is nothing more than kite flying.
The depth of fast bowlers at South Africa's disposal was no better evidenced than on Thursday as Corbin Bosch and Dale Paterson took nine of the 10 wickets to dismiss Pakistan for 211 on the opening day of the first Test at Centurion.