Pakistan completed a crushing innings and 44-run victory over Bangladesh on the fourth morning on Monday.
Pakistan picked up a 212-run first-innings lead before the pacer became the youngest to bag a Test hat-trick.
Both score centuries as the hosts finished day two with a lead of 109.
Shaheen helps Pakistan bowl Bangladesh for 233 in first Test. Mohammad Mithun scored a fighting 63.
Chief selector of Pakistan Cricket Misbah-ul-Haq, left, addresses a press conference in Lahore, Pakistan, Saturday, Feb. 1, 2020.
Mustafizur was in the two-Test series against India in November but was not picked for any of the matches due to his poor form and fitness.
Hosts take the series after the third and final T20I against Bangladesh was washed out due to persistent rain in Lahore.
Pakistan defeat Bangladesh in second T20I, gain unassailable lead in series.
Earlier, Pakistan bowlers hit back to restrict Bangladesh for 141 in first T20I in Lahore on Friday.
Bangladesh call up uncapped Hasan Mahmud for Pakistan tour amid safety debate.