While they were thus conversing, a cave opened up before them, whereupon Moses requested his brother to enter it, and Aaron instantly acquiesced. Moses was now in a sad predicament, for, to follow God's command, he had to strip Aaron of his garments and to put them upon Eleazar, but he knew not how to broach the subject to his brother. He finally said to Aaron: "My brother Aaron, it is not proper to enter the cave into which we now want to descend, invested in the priestly garments, for they might there become unclean; the cave is very beautiful, and it is therefore possible that there are old graves in it." Aaron replied, "Thou art right." Moses then stripped his brother of his priestly garments, and put them upon Aaron's son, Eleazar.
Aaron — Death of Moses
Legends of the Jews 5:66