Sunan Abi Dawud, Book 24, Hadith 53 (Abu Dawud 3469)

Narrated AbuSa'id al-Khudri:

The Prophet (ﷺ) said: If anyone pays in advance he must not transfer it to someone else before he receives it.