 His father Qazi Sanaullah was Judge of Allahabad and was very rich.Qazi Ghasi was a great seeker of knowledge.When he was just fourteen years old he was an admirer of Marifat-e-Ilahi (acquaintance with Allah) and realities.