عَنْ وَهْبِ بْنِ حُذَيْفَةَ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ إِذَا قَامَ أَحَدُكُمْ مِنْ مَجْلِسِهِ فَرَجَعَ إِلَيْهِ فَهُوَ أَحَقُّ بِهِ وَإِنْ كَانَتْ لَهُ حَاجَةٌ فَقَامَ إِلَيْهَا ثُمَّ رَجَعَ فَهُوَ أَحَقُّ بِهِ
Sayyiduna Wahb bin Hudhaifah (may Allah be pleased with him) narrates that the Noble Prophet (peace and blessings be upon him) said: When a person leaves his seat in a gathering and then returns, he is more entitled to it. If such a person leaves the gathering due to some necessity and then comes back, he is more entitled to sit in that place.