Hadith.1338 - Sama'a ibn Mehran asked Imam Jafar ibn Muhammad Al-Sadiq (as) about a man who is captured by polytheists, and the time for prayer arrives, but he fears that they will prevent him from praying.
Imam (as) said: "He should pray by gesturing."