The author, An-Nawawee – may Allah shower blessings on him – said in his book, Riyaadus Saaliheen: 'Chapter on desirability of supplications during the journey.'
The traveler is detached from his homeland, and he remains a traveler till he returns to it (i.e. his homeland). The supplication of a traveler usually is that of one in need. Whenever a person is in need and supplicates to his Lord, his prayer will most likely be answered. This is because Allah, the Mighty and Sublime, responds to the supplication of the one in difficult situation and the supplication of the one in need more than the supplications of others.
Then he (An-Nawawee) mentioned the hadeeth of the three supplications which are answered without doubt:
1. The supplication of the oppressed;2. The supplication of the traveler; and3. The supplication of a parent.
Whenever someone oppresses you, usurping your wealth or any other form of oppression, and you supplicate to Allah in that regard,
Allah responds to your supplication. This is the supplication of the oppressed. Even if the victim of your oppression is a disbeliever, and he supplicates to Allah, He will answer his supplication. This is not out of love for the disbelievers but for His love for justice. The victim should likewise be fair in his supplication against the oppressor. Hence, the Prophet ﷺ told Mu'adh when he was sending him to Yemen: 'Be cautious of the supplication of the oppressed, for there is no barrier between it and Allah.'(1)
So, the supplication of the oppressed is answered when he supplicates against his oppressor with similar or less than the harm caused by the oppressor. However, there is no obligation of response if he exceeds proper limit.
Secondly: The supplication of the traveler. Whenever he supplicates to Allah to ease his journey or any other supplication, Allah, the most High, responds to his request. Thus, it is necessary to always seize the opportunity of supplicating on journeys. When the journey is in obedience to Allah such as Umrah and Hajj, then the possibility and strength of response increases.
Thirdly: The supplication of the parent. In some versions of the hadeeth, he added: 'for the child' while he only said: 'supplication of the father' in other versions. This implies if the parent supplicates for or against the child. This is the most authentic. The supplication of a father for or against his son is answered. The supplication of a father for his son is accepted because he supplicates for him out of compassion and mercy, and the Most Merciful (Allah) is merciful to those who show mercy to others. As for supplicating against him, this is not possible except the son is deserving of it. When he supplicates against him, and he deserves it, then Allah responds to the request.
These three supplications are always answered: the supplication of the oppressed, the supplication of the traveler, and supplication of a parent, be it the mother or the father.
Then, the author- may Allah shower blessings on him- mentioned
the hadeeth of supplication when one fears a people or anything. For example, you are accosted by a group of persons or an individual and you are afraid or apprehensive of their evil, then recite: 'Allahumma inna najaluka fi nuhurihim wa na'udhu bika min shururihim (O Allah! We ask You to face them, and we seek Your protection against their evil).' When you say this with all honesty and sincerity, seeking sanctuary with Allah, He will protect you from their evil.
'O Allah! We ask You to face them,' that is, in front of them shielding and protecting us from them. '...and we seek your protection from their evil.' In this state, Allah will suffice you of their evil. Allah, the Most High, will respond to these two simple statements if one utters them sincerely.
Allah alone grants success.