It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that he said: "It was asked: 'O Messenger of Allah, which of our companions in sitting is best?' He (peace and blessings be upon him) said: 'The one whose sight reminds you of Allah, whose speech adds to your knowledge, and whose deeds remind you of the Hereafter.'"
The narrators of this chain are trustworthy.