The Prophet ﷺ said, "Whoever bears witness that there is no god but Allah alone with no partner, that Muhammad is His servant and messenger, that Isa is the servant of Allah and His messenger, His word which He bestowed upon Maryam and a spirit from Him, and that Paradise is real and Hell is real, Allah will admit him into Paradise, whatever his deeds may have been."
عن النبي ﷺ قال: من شهد أن لا إله إلا الله وحده لا شريك له، وأن محمدا عبده ورسوله، وأن عيسى عبد الله ورسوله، وكلمته ألقاها إلى مريم، وروح منه، والجنة حق، والنار حق، أدخله الله الجنة على ما كان من العمل.
Bukhari narrated it in the chapters on the prophets (3435), from Sadaqa bin Fadl, who said, Walid narrated to us, from Uzai, who said, Umayr bin Hani narrated to me, Junada bin Abu Umaya narrated to me, from Ubadah, and he related it.Muslim also narrated it in the book of faith (28), through another route, from Walid bin Muslim, from Ibn Jabir, who said, Umayr bin Hani narrated to me with his chain of transmission, and he added, "and Allah will admit him through whichever of the eight gates of paradise he wishes."