Finch, who took an unsuccessful review, hit five boundaries in his knock.
The 31-year-old gazed to the sky and appeared to be overcome with relief as wife Rachel cried in the stands after bringing up his century shortly after lunch.
Khawaja has faced heavy scrutiny over his record in Asian conditions, while his elegant batting style has also fuelled an unfair perception of laziness.
Part-time leg spinner Marnus Labuschagne finally broke through just before the tea break when he lured Shafiq to drive the ball away from his body and got the thick outside edge to Paine behind the wickets.
"But it's not the case at all". But in case anyone thought there, the Australians had grown too soft under a new captain, Paine took it upon himself to show the world that sledging is not necessary to put up a good fight.
"People overlook that sort of stuff".
Australia will take plenty of positives from the start of their new era under Paine and coach Justin Langer.
Key senators undecided as Senate poised to vote on Kavanaugh
Kavanaugh was nominated by Trump to succeed retired Justice Anthony Kennedy, who was seen as a swing vote on the court. He also said the allegations against him were part of what he called a leftwing conspiracy to keep him off the court.
Earlier in the Test, Pakistan batted first and scored 482 runs and Australia was able to post only 202 runs in their first innings in reply.
All up, Khawaja spent nearly 13 hours at the crease with temperatures in the high 30s.
"I never allowed negativity in my mind throughout the day and played all my shots".
"I normally never sweat through my shirt, but my shirt was drenched and my trousers were drenched". My shirt was drenched and trousers were drenched. There was a bit of a collapse but the guys have been working hard over the last few months and I'm happy everything's gone to plan.
Aaron Finch fell just short of making half-centuries in both innings while fellow debutant Travis Head scored 72 in the second dig.
"I think I have seen one of the best innings in Test cricket, especially in the fourth innings". "He (Yasir) had played the first Test after a year so you have to give him some margin (for error)".
This was also Imam's highest score in Test cricket.