According to "A Traveller's Narrative" (p. 18) the Bab remained for three months in the castle of Chihriq before He was taken to Tabriz to be examined.