Twitter user Harriet Tolputt shared this picture of the British Airways plane which clipped a building with its wing at an airport in Johannesburg.
None of the 180 passengers on board the plane were hurt but four ground employees in the damaged building sustained minor injuries.
The Airports Company South Africa (ACSA) has launched an investigation.
A British Airways plane bound for London clipped its wing on a nearby building as it was preparing to take off from Johannesburg on Sunday, South Africa's airports authority said.
The Boeing 747-400 carrying about 180 passengers was taxiing on the runway at O.R. Tambo International when its wing hit the building.
No one on the plane was hurt, but four ground employees who were in the building sustained minor injuries, the Airports Company South Africa (ACSA) said, adding that an investigation was underway.
Photos posted on social media site Twitter showed a brick building with what appeared to be an aircraft wing lodged in its top floor.
South African President, Jacob Zuma, broke the news last night.
In a televised address, Mr Zuma said:
"Our nation has lost its greatest son. Our people have lost a father.
"What made Nelson Mandela great was precisely what made him human. We saw in him what we seek in ourselves."