"And the LORD sent a pestilence upon Israel from the morning even to the time appointed" (2 Samuel 24:15). Rabbi Shimon ben Yochai taught: thirty-six hours of punishment were decreed upon them in that hour, but great advocates arose and nullified them. These are: the seven days of the Sabbath, and the eight days of circumcision, and the five books of the Torah, and the merit of the fathers, three; and there remained there thirteen hours. Who nullified them? Two Amoraim. One said: the merit of the twelve tribes; and the other said: the merit of the Ten Commandments and the two tablets. There remained there one hour, "And the LORD sent a pestilence upon Israel from the morning even to the time appointed" (there, there, 15). Rabbi Chiyya [the Great] said: from the slaughter of the daily offering until the sprinkling of its blood. Rabbi Shmuel bar Nachman said: from when its blood is sprinkled until the sun shines forth. And the Rabbis said: from when the sun shines forth until the whole orb is filled. Come and see how many multitudes fell from them — had it been a whole hour, how much more so.
The Thirty-Six Hours of Plague David's Census Earned
Midrash Shmuel 31:3
ויתן ה' דבר בישראל מהבקר ועד עת מועד, תאני ר' שמעון בן יוחי שלשים ושש שעות של פורעניות נגזר עליהם באותה שעה, ועמדו פרקליטין גדולים ובטלו אותן, אלו שבעת ימי השבת, ושמנה ימי מילה, וחמשה ספרי תורה וזכות אבות שלשה ונשתיירו שם שלש עשרה שעות, מי בטלן, תרי אמוראין, חד אמר זכות שנים עשר שבטים, וחרנה אמר זכות עשרת הדברות ושני הלוחות, נשתיירה שם שעה אחת, ויתן ה' דבר בישראל מהבקר ועד עת מועד (שם שם ט"ו), רבי חייא [רבא] [רבה] אמר משחיטת תמיד ועד זריקת דמו, רבי שמואל בר נחמן אמר משתזרק דמו ועד שתנץ החמה, ורבנין אמרי משתנץ החמה עד שיתמלא כל הגלגל, בוא וראה כמה אוכלוסין נפלו מהם, אלו היתה שעה שלימה על אחת כמה וכמה.