Acts 22:17

17 "After I came back to Jerusalem and was praying in the temple complex, I went into a visionary state

Acts 22:17 Meaning and Commentary

Acts 22:17

And it came to pass, that when I was come again to
Jerusalem
Which was three years after his conversion; for he did not immediately return to Jerusalem, but went into Arabia; and when he returned to Damascus, which was three years after he came to Jerusalem; see ( Galatians 1:17 Galatians 1:18 )

even while I prayed in the temple;
the temple was an house of prayer; hither persons resorted for that purpose; and as the apostle had been used to it, he continued this custom, and during the time of prayer he fell into an ecstasy:

I was in a trance:
and knew not whether he was in the body, or out of the body: whether this was the time he refers to in ( 2 Corinthians 12:2 ) is not certain, though probable.

Acts 22:17 In-Context

15 For you will be a witness for Him to all people of what you have seen and heard.
16 And now, why delay? Get up and be baptized, and wash away your sins by calling on His name.'
17 "After I came back to Jerusalem and was praying in the temple complex, I went into a visionary state
18 and saw Him telling me, 'Hurry and get out of Jerusalem quickly, because they will not accept your testimony about Me!'
19 "But I said, 'Lord, they know that in synagogue after synagogue I had those who believed in You imprisoned and beaten.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.