Bakhit studied at al-Azhar and taught there from 1875 to 1880, when he was appointed qadi (Muslim judge) of Qalyubiyya, after which he served as a judge in various provincial centers, Alexandria, and Cairo.