The Prophet Muhammad (peace be upon him) would stand in prayer during the last ten nights of Ramadan, praying for forgiveness. The Prophet (peace be upon him) said, “Whoever prays on Laylatul Qadr out of faith and sincerity, shall have all their past sins forgiven” (Hadith, Bukhari and Muslim).