He couldn't attend the Queen's annual church service at St. George's Chapel, where Prince Harry and Meghan Markle will Wednesday on May 19, with a courtier explaining: "The Duke of Edinburgh has an issue with his hip which is affecting his mobility".
A royal source told Reuters: "The duke was keen to attend but made this decision because he was experiencing some trouble with his hip".
However, the Duke of Edinburgh attended Christmas services with his family in December, and was seemingly in good spirits. Prince Andrew inherited the role directly from his father, who had been Colonel of the Granadier Guards since 1975. Last November, royal expert Kate Nicholl told ET that Prince Harry's special bond with his grandfather is behind both the timing and venue for his upcoming nuptials.
Malala vows to continue fight for girls' education
Earlier, speaking in the ceremony Malala Yousafzai said she had a dream of returning to the country for the last five years. She received the Nobel Peace Prize for her efforts for fighting for girls' education in the year 2014.
The 96-year-old, who retired from full-time royal duties last year, did not attend the traditional Easter service at Windsor Castle on Sunday and his absence has been linked to the hip problem.
It said that the hospital admission and surgery were planned ahead of time.
When it was announced past year that he would be retiring from official engagements, Buckingham Palace stressed that the decision was not health-related and he had the full support of the Queen.
In June past year, Prince Philip was admitted to a hospital for two days as a "precautionary measure" for the treatment of an undisclosed infection. The royal couple has been married for 70 years.