, where Ahmad was based for much of his life Ahmad was born in 1316 or 1318. His father was Sultan
al-Nasir Muhammad and his mother was Bayad, a singer and a slave girl freed by Emir Bahadur As and possibly given to al-Nasir Muhammad. He was sent again in April 1326. Nothing about Ahmad in the Mamluk-era sources is known between 1326 and 1331. Ahmad returned to al-Karak with his wife, who had been growing increasingly ill.
Relationship with Shuhayb Zumurrudi reported back to al-Nasir Muhammad that Ahmad was behaving poorly, dressing as a
Bedouin and was spending much of his time drinking with a Bedouin boy, Shuhayb, whom Ahmad had fallen in love with. As a consequence for his behavior, Ahmad was ordered by al-Nasir Muhammad to return to Cairo with Shuhayb in March 1339. Ahmad was received without fanfare and Shuhayb was jailed. Ahmad also refused an offer from his father that would have transferred one hundred of al-Nasir Muhammad's
mamluks to Ahmad's service in return for Ahmad's abandonment of Shuhayb. Al-Nasir Muhammad ultimately relented and abandoned hopes that Ahmad could succeed him as sultan. Instead, he released Shuhayb and made Ahmad an emir of forty mounted
mamluks (the second highest Mamluk military rank). Ahmad was also made to stay in Egypt, while Abu Bakr was sent to al-Karak, likely replacing Ahmad as governor of the province. In 1341, Shuhayb and a
eunuch entered into a dispute related to a pigeon racing competition, in which the eunuch mistreated Shuhayb. In response, Ahmad had the eunuch severely beaten, and when news of the incident reached al-Nasir Muhammad, the latter attempted to force Ahmad to banish Shuhayb, again sending emirs Qawsun and Bashtak to communicate his demands to Ahmad. Ahmad refused, stating to Qawsun and Bashtak that while they each had a hundred young boys and girls, he had "contented" himself "with regard to worldly pleasures with only this boy because he has shared my exile, having left his family. How can I expel him? If the sultan commands that I do so, then let him expel me too". Ahmad was indeed expelled to
Sarkhad, accompanied by Maliktamur. However, upon the intervention of some of al-Nasir Muhammad's emirs, wives and his
harem, al-Nasir Muhammad decided to have Ahmad return to Cairo while Ahmad was still on his way to Sarkhad, although he first sold all of Ahmad's horses. Al-Nasir Muhammad also ultimately decided to send Ahmad back to al-Karak with Maliktamur, who was also reappointed governor of Mamlakat al-Karak. ==Conflict over the sultanate==