Amir Khan insists he would be ready to fight Floyd Mayweather in September if a showdown can be agreed with the undisputed welterweight champion.

Mayweather confirmed after outpointing Manny Pacquiao on Sunday that he will retire once he completes his six-bout deal with Showtime, with his final outing set to be in four months' time in Las Vegas.

British boxer Khan is a leading contender to face the unbeaten American, but his wish to observe the Muslim festival of Ramadan was thought to have ruled him out of consideration.

However, the 28-year-old has stated that with this year's Ramadan finishing on 17 July, he would be able to complete his training camp in time to face the pound-for-pound king.

"I'm not ruling out fighting in September because it's possible that it could happen," Khan said.

"Mayweather only fights in mid-September and Ramadan will be a little earlier this year, which helps. It gives me enough time to get the training done. So it can happen in September."

Khan faces Chris Algieri in New York on 29 May and is keen to focus on his light-punching American opponent, who was knocked down six times by Pacquiao during a massive points defeat in November.

"I need to win this fight if I'm to get near any of the big names in boxing. It's time to fight Chris Algieri, I'm not going to be fighting Mayweather until I win this fight," Khan said.

"Winning this fight is everything to me. I'm not looking past Chris because I've made that mistake in the past. There are bigger fights out there for me, but this is my focus."

Khan was at ringside at the MGM Grand to watch defensive genius Mayweather frustrate Pacquiao over 12 rounds to confirm his status as the greatest boxer of his generation.

The Olympic silver medallist believes he spotted some flaws in Mayweather's masterclass.

"Mayweather looked great, he did what he had to do to win the fight, his accuracy was nothing but the best," Khan said.

"Mayweather is very skilful and patient and tries to make his opponents make mistakes. His work rate dropped tremendously because of his age.

"There were a few things there that I'd not seen before. When he takes a good shot he does panic.

"The only way to catch Floyd is with speed and explosiveness, which Manny had, but Manny didn't use that enough in the fight."

A potential roadblock to Khan's chances of meeting an opponent he has long pursued is the possibility of a rematch between Mayweather and Pacquiao, after it emerged that the Filipino was carrying a shoulder injury that requires major surgery at the end of this week.

It will be April 2016 at the earliest that Pacquiao can fight again and Mayweather has little sympathy for a foe he defeated with such conviction.

Mayweather said on Instagram: "19 years in the fight game and I've had one excuse: 'Don't have an excuse'. Winners win and losers have excuses'."