Cutting off his arm
Legend has it that Bodhidharma initially refused to teach Huike. Huike stood in the snow outside Bodhidharma's cave all night, until the snow reached his waist. In the morning Bodhidharma asked him why he was there. Huike replied that he wanted a teacher to "open the gate of the elixir of universal compassion to liberate all beings".
Bodhidharma refused, saying, "how can you hope for true religion with little virtue, little wisdom, a shallow heart, and an arrogant mind? It would just be a waste of effort."
Huike Offering His Arm to Bodhidharma (1496) by Sesshū
Finally, to prove his resolve, Huike cut off his left arm and presented it to the First Patriarch as a token of his sincerity. Bodhidharma then accepted him as a student, and changed his name from Shenguang to Huike, which means "Wisdom and Capacity".
Pacifying the mind
Huike said to Bodhidharma, "My mind is anxious. Please pacify it."
Bodhidharma replied, "Bring me your mind, and I will pacify it."
Huike said, "Although I've sought it, I cannot find it."
"There," Bodhidharma replied, "I have pacified your mind."
Awakening
According to the Denkoroku, when Huike and Bodhidharma were climbing up Few Houses Peak, Bodhidharma asked, "Where are we going?"
Huike replied, "Please go right ahead---that's it."
Bodhidharma retorted, "If you go right ahead, you cannot move a step."
Upon hearing these words, Huike was enlightened.
Transmission
Skin, flesh, bone, marrow
Legend has it that Bodhidharma wished to return to India and called together his disciples and the following exchange took place;
Bodhidharma asked, "Can each of you say something to demonstrate your understanding?"
Dao Fu stepped forward and said, "It is not bound by words and phrases, nor is it separate from words and phrases. This is the function of the Tao."
Bodhidharma: "You have attained my skin."
The nun Zong Chi stepped up and said, "It is like a glorious glimpse of the realm of Akshobhya Buddha. Seen once, it need not be seen again."
Bodhidharma: "You have attained my flesh."
Dao Yu said, "The four elements are all empty. The five skandhas are without actual existence. Not a single dharma can be grasped."
Bodhidharma: "You have attained my bones."
Finally, Huike came forth, bowed deeply in silence and stood up straight.
Bodhidharma said, "You have attained my marrow."
Bodhidharma passed on the symbolic robe and bowl of dharma succession to Huike and, some texts claim, a copy of the Lankavatara Sutra. Bodhidharma then either returned to India or died.