The court has extended Amanatullah Khan's judicial custody till November 5