[2] His father Sa'd bin Salman accompanied the Ghaznian Prince Majdûd under the Sultan Mahmûd's orders to garrison Lahore.
[3] Mas'ud was born there and he was highly learned in astrology, hippology, calligraphy, literature and also in Arabic and Indian languages.
His first work of note was as a panegyrist in the retinue of Sultan Ibrâhîm's son Sayf al-Dawla Mahmûd, whose appointment to governor-general of India in 1076 Mas'ud marked with a qasideh.
[2] The last years of his life was spent in high favor, serving four consecutive sultans as librarian and panegyrist.
One of his famous qasidehs about the prison named ای وائی امید ہائے بسیارم: Couplet: