Kaka has in recent weeks been linked with a January return to Italian football.
“When I fully recover from injury I will play in Madrid, for Real Madrid,” Kaka told Marca.
“My stay in Madrid is totally safe until next summer. What happens after that only God knows.
“I have been a long time without playing football and my goal is to be fully recovered by December.”