"No Engine Engine... No No...," the 27-year-old Spanish international said on his team radio after his car's engine blowout.
Charles Leclerc is now at the second place in the standings ahead of Red Bulls' Sergio Perez.
Ricciardo will start the feature race at the 12th spot in the Red Bull Ring.
The Genolier-born will start the feature race in ninth place.
Checo Perez will be replaced by George Russell in fourth place for the sprint race in the Red Bull ring.
Hamilton has apologized to his team and said, "I'm so sorry guys. I'm so sorry to damage the car."
The final race will take place from 6:30 PM at the Red Bull Ring in Austria on Sunday, July 10.
Catch all the Live Updates on practice, qualifying race and main race HERE.
The main race will take place on July 10 at 6:30 PM IST.
Subscribe To Our Daily Newsletter And Get News Delivered Straight To Your Inbox.