How should I become pure if I had a wet dream on a plane?
The answer
If you cannot make Ghusl or Tayammum, perform Salah by imitating the postures of Salah without reciting anything. When you get a chance to become pure, repeat your Salah.
Condition: Applies when neither Ghusl nor Tayammum can be performed; the Salah must be repeated later.
And Allah knows best.
Mufti Faraz Adam
References
وَفَاقِدُ الطَّهُورَيْنِ في الْمِصْرِ بِأَنْ حُبِسَ في مَكَان نَجَسٍ ولم يَجِدْ مَكَانًا طَاهِرًا وَلَا مَاءَ طَاهِرًا وَلَا تُرَابًا طَاهِرًا لَا يُصَلِّي حتى يَجِدَ أَحَدَهُمَا وقال أبو يُوسُفَ يُصَلِّي بِالْإِيمَاءِ تَشَبُّهًا بِالْمُصَلِّينَ (البحر الرائق شرح كنز الدقائق – 1 / 172)
وأما فاقد الطهورين ففي الفيض وغيره أنه يتشبه عندهما وإليه صح رجوع الإمام وعليه الفتوى (الدر المختار شرح تنوير الأبصار)
قوله ( وأما فاقد الطهورين ) هذا رد من الشارح للدعوى الوسطى ط
قوله ( يتشبه ) أي بالمصلين وجوبا فيركع ويسجد إن وجد مكانا يابسا وإلا يومىء قائما ثم يعيد كما سيأتي في التيمم (حاشية رد المختار على الدر المختار 1/ 80)
Based on the Hanafi school and on the question as it was asked. Another mufti may reach a different conclusion. Read the disclaimer.