Al-Arba'in fi Ahwal-al-Mahdiyin (Forty [Hadith] concerning the Mahdis) by Shah Ismail Shaheed (26 April 1779 – 6 May 1831) Balakot, Pakistan. Al-Arba'in fi Ahwal-al-Mahdiyin is a small book consisting of 50 pages. As the name suggests it has forty Ahadith in it, all these traditions pertain to the appearance of Imam Mahdi in the Ummah of Muhammad. The author Shah Ismail Shaheed was the son of Shah Abdul-Ghani, and the grandson of Shah Waliullah Muhaddith Dehlawi. Shah Ismail Shaheed died in action at Balakot fighting against the Sikh Raj on 6 May 1831. The book has been published some 20 years after his death by a Publisher at Misri Ganj Calcutta on the 25 Muharram 1268 Hijri (21 November 1851 G). The publisher writes, he has appended the "very famous Ode" of Shah Nimatullah Wali(1330-1431) at the end of the book. This printed copy of the "Ode" [1851 AD] of Shah Nimatullah Wali(1330-1431) is probably the oldest published copy available at this time. According to Professor C. M. Naim of Chicago University,calling this copy of the "Ode" Q1, " ...had long existed, and was undoubtedly copied and shared by thousands of people, its debut in the political discourse of South Asian Muslims occurred near the middle of the 19th century. According to Qamar Islampuri, it appeared as a part of a book called Al-Arba'in fi Ahwal-al-Mahdiyin ("Forty [Hadith] concerning the Mahdis"), ascribed to "Shah Isma'il 'Shahid' and published at Misri Gunj, Calcutta, on Muharram 25, 1268 AH (21 November 1851)".