He is Khateeb in Grand Jamia Masjid Behria Town, Lahore and Mohtamim Madrassa Marhaba Kurry Road, Rawalpindi.
He is President of Wafaq-ul-Masajid Madaris-e-Pakistan (One- Madras e Masjid Organization) and National Reconciliation Council of Pakistan for Interfaith Harmony.
His past appointments include former Advisor to President of Pakistan for Affairs of Islamic World, ex-Advisor to Government of Punjab (Equivalent of Minister ), former Member Council of Islamic Ideology, Govt.
Ashrafi has done PhD Honorary (Arabic language), M.A (Arabic, Islamic Studies), Fazil (Wifaqul Madarisul Arabia Pakistan), Fazil (Jamiatul Ashrafia), B.A (Journalism) from Punjab University, F.A from Board of Intermediate & Secondary Education Lahore and Matriculation from Board of Intermediate & Secondary Education Lahore.
On 22 October 2020, he was appointed Special Representative on Religious Harmony and the Middle East by then Prime Minister Imran Khan.