by the bank of the ganda-naalah he walked , ignoring the fetid odors wafting from it while he followed those melodious sounds , until he came to a halt at the back of a large abandoned building , which used to serve as the citys prison in the bygone years .