The 1,260-day prophecy is found in two passages in Revelation. First, Revelation 11:2–3 says,
“[The Gentiles] will trample on the holy city for 42 months. And I will appoint my two witnesses, and they will prophesy for 1,260 days, clothed in sackcloth.”
Then, as part of a symbolic vision, Revelation 12:6 says,
“The woman fled into the wilderness to a place prepared for her by God, where she might be taken care of for 1,260 days.”