"The Public Administration Ministry issued a notification cancelling the contract of Mahbubul Alam Hanif today," the ministry's senior secretary Abdus Sobhan Sikder told reporters without elaboration.
Hanif was Hasina's special assistant on political affairs.
No reason was given for the cancellation of Hanif's contract. But officials familiar with the development said Hanif was relieved upon Hasina's desire.
Hanif is also the ruling Awami League's joint general secretary and its official spokesman.
Hanif or party officials were not immediately available for comments.
Earlier, Hanif had dismissed media reports about him being asked to resign as "nothing but a mere rumour".