The Milan-based musician, who is the husband of influencer Chiara Ferragni, shared the news in an emotional Instagram story.

“I’m here to tell you that I’ve been diagnosed with an illness, fortunately early on, and will undergo a course of treatment,” he said.

“An important journey awaits me.

“I feel like I’ll be able to share it in the future, because hearing other people’s stories has given me comfort.

“But at the moment I need to be with my family, my children.

“If sharing my story manages to give comfort to even a single person who may not be as lucky as I am to be surrounded by loved ones, it will be worth it.”

Fedez added that he shared the video in the hope that it would help him to process the news.

While the rapper did not reveal the details of his illness, he said he was ready to face the challenge ahead of him.

“I thank my wife, who has been close to me these days, and my family and friends,” he said.

“I hope to be able to give you positive updates as soon as possible.”

Shortly after Fedez shared the news, Ferragni showed support for her husband in an Instagram post.

“The love of my life needs some extra support in these days,” she wrote.

“We love you more than ever amore mio, and you’ll be ok soon, always surrounded by the love of all your family, friends and people that love you so much.”

Fedez and Ferragni have two children together: Leone, 3, and Vittoria, 11 months.