a manual of moral theology for english-speaking countries
p. 211
dispositions and free-will. He may, if he pleases, put obstacles in the way, which will prevent the prayer from obtaining the precise effect wished for in his regard. Theologians conclude that prayer must be made for one's self in order to be infallibly heard by God.
4. We are obliged by precept only to pray to God, unless we admit with the common opinion that any one who should never pray to the Blessed Virgin Mary would sin venially by neglecting so powerful a means of salvation. We may, however, lawfully and with fruit pray to the angels and saints, more probably to the holy souls detained in purgatory, and in private to any one whom with reasonable certainty we believe to be with God in heaven, that they may intercede with Him for us.
5. We should pray for all men whom it will benefit without excluding any one in our private prayers. It is useless praying for the damned, and the Church forbids her ministers to pray publicly for those who are excommunicated.