Philip, or the Duke of Edinburgh as he is known in Britain, retired from public life last August, quipping at the time that he was no longer able to "stand up much".
Philip is said to have complained of a problem with his hip which caused him to miss a Windsor Castle event with the Queen last week.
Despite officially retiring in 2017, Philip appeared publicly with Queen Elizabeth and the rest of the royal family last December for Christmas morning church services and even participated in the family's yearly walk in Sandringham.
Why Did Prince George Skip Easter Services?
Also noticeably absent during the event were Prince Harry and Meghan Markle , who will Wednesday at the chapel in May. Just as Princess Diana did (as well as Kate's parents), the Duke and Duchess always put their children first.
It said that the hospital admission and surgery were planned ahead of time.
However, his health has been an ongoing issue since a year ago, when he was admitted to hospital in June for an infection. Since 1952, he had completed 22,219 solo engagements. Philip's eldest son, Prince Charles, attended the four-day racing event instead.
During Queen Elizabeth's Diamond Jubilee celebrations in June 2012, he was hospitalized for a bladder infection just before his 91st birthday.
After the second world war, he got married to Elizabeth II in 1947 and abandoned his Greek and Danish royal titles.
Born in Greece in 1921, Philip was a child of the House of Schleswig-Holstein-Sonderburg-Glücksburg, a Greek-Danish royal family.