Question: Where was Avicenna once imprisoned?
Sentence: While he was imprisoned in the castle of Fardajan near Hamadhan, Avicenna wrote his famous "Floating Man" – literally falling man – thought experiment to demonstrate human self-awareness and the substantiality and immateriality of the soul.
Answer in sentence: yes