There are language cues in Acts 3 that strongly suggest that it is a description of an event on the afternoon of Pentecost. Thus this is a continuation of the events of Acts 2. The Spirit of God is on display in the temple with power, a display meant to prompt Israel to “turn back” from their rejection God’s Messiah and be restored by God’s Spirit.