Some (mainly Shiah Muslims) believe that the 2 witnesses of Revelation 11: 3 are Muhammad and `Ali :
“And I will give power to my two witnesses, and they will prophesy for 1,260 days, clothed in sackcloth.”
bible.cc/revelation/11-3.htm
That led to the idea that the Islamic dispensation would end in 1260 AH = 1844 AD. The idea of a predetermined end of the era in itself comes from the Quran, surah 15 vs 4-5:
- Never did We destroy a population that had not a term decreed and assigned beforehand.
- Neither can a people anticipate its Term, nor delay it.
((Yusuf Ali tr))
Some Muslims have also considered the references in the NT to the paraclete / comforter to be prophecies of Muhammad’s mission.