After graduating from Al-Fatah University, Tripoli, Libya in 1990, Hani came to the UK in 1991 to farther his training in medicine. He obtained the MRCP in 1994 and trained in neurology at the Institute of Neurological Sciences in Glasgow. He obtained a PhD and CCST (Certificate of Completion of Specialist Training) in neurology in 2000, and was appointed a consultant neurologist in Wolverhampton and Birmingham the same year. He has been the lead neurologist at New Cross Hospital in Wolverhampton since 2006. Hani has an interest in medical education, and obtained a postgraduate certificate in the field from Keele University in 2007. He has published more than 30 papers, and is currently one of the editors of the Libyan Journal of Medicine. He was also an examiner for the MRCP Diploma from 2005 to 2009.