Pesachim 119a
R. Samuel b. Nahmani said in R. Jonathan's name:
I will give thanks unto Thee, for Thou hast answered me27 was said by David;
The stone which the builders rejected is become the chief corner-stone28 by Yishai;
This is the Hashem's doing29 by his brothers;
This is the day which Hashem hath made30 by Samuel.
We beseech ‘Thee, O Hashem, save now!31 was said by his brothers:
We beseech Thee, O Hashem, make us now to prosper! by David;
Blessed be he that cometh in the name of Hashem32 by Yishai;

We bless you out of the house of Hashem32 by Shmuel;

Hashem is G-d, and hath given us light33 by all of them;
Order the festival procession with boughs, by Shmuel;
Thou art my G-d, and I will give thanks unto Thee34 by David;
Thou art my G-d, I will exalt Thee, by all of them.

27) Tehillim 118:21.
Ibid. 22.
Ibid. 23.
Ibid. 24.
Ibid. 25.
Ibid. 26.
Ibid. 27.
Ibid. 28.