A search for the rare decays Bs0→μ+μ− and B0→μ+μ− is performed with the LHCb experiment using 1.1\,fb−1 of data collected at s=8\,TeVand1.0fb^{-1}ofdatacollectedat\sqrt s=7TeV.AnexcessofB^0_s\rightarrow μ^+μ^-candidateswithrespecttothebackgroundexpectationsisobservedwithastatisticalsignificanceof3.5standarddeviations.Abranchingfractionof{\cal BR}(B^0_s\rightarrow μ^+μ^-) =(3.2^{+1.5}_{-1.2}) \times 10^{-9}ismeasuredwithanunbinnedmaximumlikelihoodfit.ThemeasuredbranchingfractionisinagreementwiththeexpectationfromtheStandardModel.TheobservednumberofB^0\rightarrow μ^+μ^-candidatesisconsistentwiththebackgroundexpectationandanupperlimitonthebranchingfractionof{\cal BR}(B^0\rightarrow μ^+μ^-) < 9.4\times10^{-10}$ is obtained.