Our Lady in Medjugorje in her messages speaks of distraction, this is what she says

Message dated February 19, 1982
Follow the Holy Mass carefully. Be disciplined and do not chat during Holy Mass.

Message dated October 30, 1983
Why don't you abandon yourself to me? I know you pray for a long time, but truly and completely surrender to me. Entrust your concerns to Jesus. Listen to what he says to you in the Gospel: "Who among you, however busy he is, can add one hour to his life?" Also pray in the evening, at the end of your day. Sit in your room and say thank you to Jesus. If you watch television for a long time and read the newspapers in the evening, your head will be filled only with news and many other things that take away your peace. You will fall asleep distracted and in the morning you will feel nervous and you will not feel like praying. And in this way there is no more place for me and for Jesus in your hearts. On the other hand, if in the evening you fall asleep in peace and praying, in the morning you will wake up with your heart turned to Jesus and you can continue to pray to him in peace.

November 30, 1984
When you have distractions and difficulties in the spiritual life, know that each of you in life must have a spiritual thorn whose suffering will accompany him to God.

Message dated February 27, 1985
When you feel weakness in your prayer, you do not stop but continue to pray wholeheartedly. And do not listen to the body, but gather yourself completely in your spirit. Pray with even greater force so that your body does not overcome the spirit and your prayer is not empty. All of you who feel weak in prayer, pray with greater ardor, fight and meditate on what you pray for. Do not let any thought deceive you in prayer. Remove all thoughts, except those that unite me and Jesus with you. Drive away the other thoughts with which Satan wants to deceive you and take you away from me.

March 4, 1985
Sorry if I interrupt your rosary, but you can't begin to pray like this. At the beginning of the prayer you must always throw away your sins. Your heart must progress by expressing sins through spontaneous prayer. Then sing a song. Only then will you be able to pray the rosary with the heart. If you do this, this rosary will not bore you because it will seem to last only one minute. Now, if you want to avoid being distracted in prayer, free your heart from everything that weighs on you, everything that uses worry or suffering: through such thoughts, in fact, Satan tries to mislead you so as not to make you pray. When you pray, leave everything, leave all worries and remorse for sins. If you get caught up in these thoughts, you won't be able to pray. Shake them off, put them out of you before prayer. And during prayer do not let them come back to you and be an obstacle or disturbance to your interior recollection. Remove even the smallest disturbances from your heart, because your spirit can get lost even for a very small thing. In fact, a very small thing joins another very small thing and these two together form something bigger that can ruin your prayer. Be careful, and see to it that nothing ruins your prayer and consequently your soul. I, like your mother, want to help you. Nothing more.

April 7, 1985
I must remind you once again about this: during prayer, have your eyes closed. If you just can't keep them closed, then look at a sacred image or the cross. Don't look at other people when you pray, as this will surely distract you. So don't look at anyone, close your eyes and contemplate only what is holy.

Message dated December 12, 1985
I would like to help you spiritually but I cannot help you unless you open up. Just think, for example, where you were with your mind during yesterday's mass.