b) [In the Sifrei, Parashat Re'eh, it is stated: "When HaShem your God cuts off..." that he went to learn Torah with Rabbi Yochanan the sandal maker at the hands of Rabbi Yehuda ben Beterah and Rabbi Yehuda ben Shamua (see there). Rashi wrote in Ketubot (10a) that he was a student of Rabbi Akiva, as it is stated in the chapter "The One Who Lost His Property" when the students of Rabbi Akiva died (see there), and the world was desolate until Rabbi Akiva came to our teachers in the South and taught them to Rabbi Meir, Rabbi Yehuda, Rabbi Yosi, Rabbi Shimon, and Rabbi Elazar ben Shamua.
And in Zevachim, chapter 11 (63b, 110b), Rabbi Elazar follows the opinion of Rabbi Akiva, his teacher, as stated. And in Ketubot (there)]. Rabbi Yehuda ben Bava supported him. And he was the teacher of Rabbi in the chapter "The Uncircumcised" [(4:1)] who said that he went to learn Torah from Rabbi Elazar ben Shamua, his colleague, and his students were after him like chickens of the house of Bokia, and they did not allow him to learn from him except for one thing from our Mishnah. [(And in Yoma (79b), Rabbi said: When we were learning Torah from Rabbi Shimon ben Yochai)] and in the chapter "The Omer" [(18a)] Rabbi said: When I went [(to the measures of Rabbi Shimon ben Yochai, and some say the measures of Rabbi Shimon ben Yochai)] I found Yosef the Babylonian sitting before him [(see Isi ben Akiva).
And in Eruvin (53a), Rabbi said: When we were learning from Rabbi Shimon ben Yochai, six would sit in one amah. Rabbi Yochanan said: The earlier ones were like the entrance of a hall, and the later ones were like the entrance of the sanctuary; the earlier ones were Rabbi Akiva and the later ones were Rabbi Shimon ben Yochai. Others say: The earlier ones were Rabbi Shimon ben Yochai and the later ones were Rabbi Oshaya (see Rabbi Akiva).
In Menachot (22a), Rabbi Elazar preceded the words of Rabbi Shimon, who was a colleague of Rabbi, to Rabbi Elazar ben Shamua, who was the teacher of Rabbi (see what I have written in the rules)]: