I could not find anywhere in the Catechism where it says that Jesus does the will of Mary. But in saying that Jesus does the will of Mary, it is with the understanding that Mary’s prayer to Jesus is in accord with the plan of the Father.
The Catechism teaches in Paragraph 2677 that when Mary prays for us, she prays for us as she prayed for herself: Let it be to me according to your word. By entrusting ourselves to her prayer, we abandon ourselves to the will of God together with her: Thy will be done.” (2677)
....”By entrusting ourselves to her (Mary) prayer, we abandon ourselves to the will of God together with her.”....
Jesus clearly said...
“No one comes to the Father except through me.”.....John 14:6
“Why do you call me, ‘Lord, Lord,’ and do not do what I say?....Luke 6:46