Srimad Bhagavatam Canto 10, Chapter 86, Text 26

SB 10.86.26

bhagavams tad abhipretya
 dvayoh priya-cikirsaya
ubhayor avisad geham
 ubhabhyam tad-alaksitah
 
Translation: 
 
Wanting to please them both, the Lord accepted both their invitations. Thus He simultaneously went to both homes, and neither could see Him entering the other’s house.
 
Purport: 
 
According to Srila Visvanatha Cakravarti, Krsna visited Srutadeva and Bahulasva at the same time by manifesting Himself in duplicate forms, along with the sages. Thus King Bahulasva thought that Lord Krsna had come only to his house, leaving Srutadeva to return home disappointed, while Srutadeva believed that just the reverse was the case.
 
In Krsna, Srila Prabhupada remarks: “That [Lord Krsna] and His companions were present in both houses, although both the brahmana and the King thought He was present in his house only, is another opulence of the Supreme Personality of Godhead. This opulence is described in the revealed scriptures as vaibhava-prakasa. Similarly, when Lord Krsna married sixteen thousand wives, He also expanded Himself into sixteen thousand forms, each one of them as powerful as He Himself. Similarly, in Vrndavana, when Brahma stole away Krsna’s cows, calves and cowherd boys, Krsna expanded Himself into many new cows, calves and cowherd boys.”
Srimad Bhagavatam Canto 10, Chapter 86, Text 25
Srimad Bhagavatam Canto 10, Chapter 86, Text 27-29