 Shortly after this he moved out of Muhammad's palace to another residence in the city, and on January 2, 866, he led the prayer for the Feast of Sacrifice.Muhammad, for his part, strove to convince the people that he was still acting in al-Musta'in's best interests, while at the same time continuing to negotiate with Abu Ahmad regarding the terms of surrender.On January 7, Muhammad and Abu Ahmad met in person under a canopy outside the Shammasiyah gate, and the two men agreed that the state revenues would be split among the parties, with two thirds going to the Turks and one third going to Muhammad and the Baghdadi army, and al-Musta'in should be held liable for part of the soldiers' pay.