'Amr bin Shu'aib on the authority of his father and grandfather reported:
Messenger of Allah (ﷺ) said, "It is not permissible for a person to sit between two people without their permission."[At-Tirmidhi]. (IT)
App reference (IT): Book 5, Hadith 16 (IT)
Arabic/English book reference (IT): Book 5, Hadith 829 (IT)