On 26th September 1925 Ramprasad Bismil was arrested. Ashfaq escaped from his home and hid in a sugarcane field.
Later he managed to reach Varanasi and stayed for some time in Banaras University. With the help of his friends, he went to Bihar and worked their as clerk in an engineering firm at Daltonganj.
Later, he went to Delhi with a plan to go abroad. In Delhi, he met a Pathan friend who also hailed from Shahjahanpur and was a classmate of Ashfaq.
In his greed for cash reward, which the British Government had announced on Ashfaq's head, the Pathan sounded the police and next morning Ashfaq was also arrested.