(CNN) -- Felipe Massa says the day he becomes a number two driver will be his last in Formula One.
The Brazilian led for most of last weekend's German Grand Prix before Ferrari race engineer Rob Smedley appeared to instruct him to allow teammate Fernando Alonso to overtake him on lap 49 of 67.
After the race, the Italian team were found guilty of a breach of the rules that prohibits teams orders, fined $100,000 and the matter was referred to the World Motor Sport Council.
Massa is currently preparing for an emotional return to Hungary this weekend after he suffered a freak injury in qualifying for last year's race. A spring from another car smashed into his helmet and ruled the 29-year-old out for the rest of the season.
But it is the fall out from Ferrari's one-two finish at Hockenheim that is still dominating headlines, and Massa has now said he would quit Formula One if he was ever thought of as a number two driver.
"The time I say I am a number two driver I will not race any more, and I am not [a number two]," he was quoted as saying by the UK Press Association.
And when the Brazilian was quizzed on what he would do should he lead Alonso again in Budapest he replied: "I will win."
Alonso's contentious victory brought him back into contention in the drivers' championship. He sits fifth, 34 points behind leader Lewis Hamilton, of McLaren, while Massa is eighth on 85 points.
Massa went on to confirm that he has been talking to Ferrari since his second placed finish and hinted a similar situation would not occur.
He added: "I've spoken to everybody inside the team. I'm not just here to race, I'm here to win, and that's my point.
"Yes, I am working for the team. We know how important that is. I want the best for the team, but I am professional."
Massa went on to claim that the controversy hadn't dented his relationship with his team, stating: "It makes me even stronger."
As for Alonso, he told reporters there is no favoritism in the Ferrari team as he tried to draw a line under the issue. "There is not a number one and number two driver," Alonso said.
"It is more about respect of each other, of racing for the Scuderia [Ferrari], which means a lot. There are many opinions, many things have been said in the last couple of days.
"The only important thing for us is the car is competitive and we can do well here in Hungary as well. We respect other people's opinions, but we concentrate on our own job."
Practice for the Hungarian Grand Prix gets underway Friday.