Recruited from the dirty streets around the Martyrs ' Mosque , Mr. Hamdan joined a ragtag group of jihadists trying to find a path through Afghanistan to Tajikistan to fight the Russian-backed government .