If we know the names of two narrators of a Hadith, their names alone also tell us who heard from whom.

Rāwī and Ruwāt: Hadith Narrators