Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, "If someone leaves his seat (for one reason or another) and returns to it, he is better entitled to it."[Muslim].
App reference: Book 5, Hadith 13
Arabic/English book reference: Book 5, Hadith 826