"We have this option of playing a pace-bowling all-rounder against Bangladesh and Ashraf took five wickets in the Quaid-e-Azam trophy final so we have selected him," said Misbah.
This will give Pakistan an option in the ranks to strengthen the side.
PAK vs BAN
Key details about Bangladesh's tour of Pakistan
Bangladesh had agreed to tour Pakistan in three phases.
The two sides were involved in three Twenty20 internationals, which Pakistan won 2-0.
Post the series, Bangladesh cricketers returned home earlier this week.
They will play the first Test and then return again for the sole ODI (April 3) and second Test (April 7-11).
Both the matches will be held in Karachi.
Here's the Pakistan Test squad to face Bangladesh
A look at the Pakistan squad for Rawalpindi Test: Azhar Ali (captain), Abid Ali, Asad Shafiq, Babar Azam, Faheem Ashraf, Bilal Asif, Fawad Alam, Haris Sohail, Imam-ul-Haq, Imran Khan, Mohammad Abbas, Mohammad Rizwan, Naseem Shah, Shaheen Shah Afridi, Shan Masood, Yasir Shah.
16-member Pakistan Test squad
Pakistan names 16-player squad for Rawalpindi Test