I'm trying to find a short story about two painters. They realize that nobody ever becomes famous or earns any money from their work until after they die. So they decide to fake one of them being terminally ill, while really he is busy painting a bunch of paintings. Meanwhile, the other one is on the road selling the paintings for a decent value because eventually the guy is going to die. Eventually, they fake the death of the sick one, and sell the paintings for even more, since he's now dead.
I also recall, that at the end of the story, it's heavily hinted that the storyteller is the "dead" guy. I think he was telling it to another traveler, and I want to say they were in a hotel lobby, but it may have been a restaurant, or some other public place.
Note that this was a short story, not a play.