While on his way to Mecca, Bairam Khan was attacked in
Patan, Gujarat on 31 January 1561 by a band of
Afghans led by Mubarak Khan, whose father had been killed fighting against Bairam at the
Battle of Machhiwara in 1555. Bairam Khan's camp was also put to plunder and the newly widowed, Salima Begum, along with her step-son, Abdul Rahim (aged four), reached
Ahmedabad after suffering many hardships. Akbar was shocked to hear the sad news of his former teacher and guardian's death. As per his orders, Salima and Abdul Rahim were brought under imperial escort to the Mughal court with great honour and respect. Akbar himself married her on 7 May 1561 as a regard for the astute services offered by her late husband to the Mughal Empire and acknowledging her exalted lineage. She was about three and a half years older than him and became his third wife. Salima remained childless throughout her marriage. She was entrusted with parenting Akbar's son, who was born to one of the serving-girls (concubine), named
Sultan Murad Mirza. He was entrusted for his first few years to Salima Sultan Begum for the upbringing and returned to his mother's care in 1575, as Salima left for Hajj. Being an extensive reader, she kept accounts of her encounters with the Emperor and the state of affairs. Salima was therefore one of the most important ladies in the Mughal court. In 1575, Salima traveled to
Mecca to perform the
Hajj pilgrimage along with her aunt,
Gulbadan Begum, and many other
Timurid ladies. She was the only wife of Akbar who accompanied the pilgrims. Akbar himself was dissuaded from traveling only by the pleas of Abu'l Fazl. The high-ranking female party, under the fortunate auspices of Akbar, left
Fatehpur Sikri on 15 October 1575 and after taking a year to get to the sea, set sail for Mecca on 17 October 1576. They were said to have spent three and a half years in
Arabia and made the
hajj four times, returning home to
Agra in March 1582. ==Political influence at the Mughal court==