The princess visited HMP Styal in Cheshire last February in her role as patron of Action for Children.
It comes after the Prime Minister held talks with female Labour parliamentarians earlier on Wednesday.