The Messenger of Allah ﷺ said: A single rider is a devil, and a pair of riders are a pair of devils, but three are a company of riders. (Using translation from Abū Dāʾūd 2607)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «الرَّاكِبُ شَيْطَانٌ وَالرَّاكِبَانِ شَيْطَانَانِ وَالثَّلَاثَةُ رَكْبٌ»