Frank Sinatra never publicly made that statement. However, John Lennon recounted in interviews that Sinatra privately told him that "Something" (written by George Harrison) was "the greatest love song ever written."
Sinatra also recorded his own version of "Something" in 1979 for his album Trilogy: Past Present Future, lending credence to his high regard for the composition. The quote is secondhand but widely cited and consistent with Sinatra's known admiration for strong melodies.