وَالدَّلِيلُ عَلَى أَنَّ مَا دُونَ الثَّلَاثِ مِنَ الْمُسَافِرِينَ فَهُمْ عُصَاةٌ، إِذِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَدْ أَعْلَمَ أَنَّ الْوَاحِدَ شَيْطَانٌ، وَالِاثْنَانِ شَيْطَانَانِ، وَيُشْبِهُ أَنْ يَكُونَ مَعْنَى قَوْلِهِ: شَيْطَانٌ أَوْ عَاصِي، كَقَوْلِهِ: شَيَاطِينَ الْإِنْسِ وَالْجِنِّ (الأنعام: 112)، وَمَعْنَاهُ: عُصَاةُ الْجِنِّ وَالْإِنْسِ.
And the evidence that those travelers who are fewer than three are sinners is that the Prophet, peace and blessings be upon him, informed that one is a devil, and two are two devils, and it is likely that the meaning of his saying "a devil" is "a sinner", like His saying: "devils of mankind and jinn" (__QUR_6:112__), and its meaning is: sinners among the jinn and mankind.
Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) narrates that the Messenger of Allah (peace and blessings be upon him) said: "A single (traveler) is a devil, and two travelers are two devils, and three people are a caravan and a group."
Explanation & Benefits
Shaykh Muhammad Farooq Rafi
Benefits:
These hadiths are evidence that travelling alone is disliked (makruh), and travelling as two people is also disliked.
It is Satan who incites a person to travel alone and two people to travel together; one or two people are Satan's target, whom he succeeds in harming and overpowering.
Therefore, to be saved from satanic attacks and destruction, one should travel in the form of a caravan whose minimum number is three.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 2570